initial commits
parent
02d30582c3
commit
0a45d66de8
|
@ -0,0 +1,15 @@
|
||||||
|
package admn
|
||||||
|
|
||||||
|
import (
|
||||||
|
"sourcecode.social/reiver/go-opt"
|
||||||
|
"sourcecode.social/reiver/go-nul"
|
||||||
|
)
|
||||||
|
|
||||||
|
// IP represents a Mastodon API "Admin::Ip".
|
||||||
|
//
|
||||||
|
// See:
|
||||||
|
// https://docs.joinmastodon.org/entities/Admin_Ip/
|
||||||
|
type IP struct {
|
||||||
|
IP opt.Optional[string] `json:"ip"` // ip-address
|
||||||
|
UsedAt opt.Optional[string] `json:"used_at"`
|
||||||
|
}
|
Loading…
Reference in New Issue