Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ip ¶
type Ip struct {
// MyObject corresponds to the JSON schema field "myObject".
MyObject *IpMyObject `json:"myObject,omitempty" yaml:"myObject,omitempty" mapstructure:"myObject,omitempty"`
}
type IpMyObject ¶
type IpMyObject struct {
// MyIp corresponds to the JSON schema field "myIp".
MyIp netip.Addr `json:"myIp" yaml:"myIp" mapstructure:"myIp"`
}
func (*IpMyObject) UnmarshalJSON ¶
func (j *IpMyObject) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.