initial commits

master
Charles Iliya Krempeaux 2023-09-26 14:59:13 +09:00
parent 02d30582c3
commit 0a45d66de8
1 changed files with 15 additions and 0 deletions

15
ent/admn/ip.go 100644
View File

@ -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"`
}