Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MultiHostName ¶
type MultiHostName struct {
DnsName string
}
func (MultiHostName) Kind ¶
func (v MultiHostName) Kind() int
func (MultiHostName) MarshalCBOR ¶
func (v MultiHostName) MarshalCBOR() ([]byte, error)
func (*MultiHostName) UnmarshalCBOR ¶
func (v *MultiHostName) UnmarshalCBOR(data []byte) error
type RelayInterface ¶
func UnmarshalRelay ¶
func UnmarshalRelay(data []byte) (RelayInterface, error)
UnmarshalRelay unmarshals CBOR data into the appropriate Relay type based on the kind discriminator. It returns a RelayInterface and an error.
type Relays ¶
type Relays []RelayInterface
func (Relays) MarshalCBOR ¶
func (*Relays) UnmarshalCBOR ¶
type SingleHostAddr ¶
func (SingleHostAddr) Kind ¶
func (v SingleHostAddr) Kind() int
func (SingleHostAddr) MarshalCBOR ¶
func (v SingleHostAddr) MarshalCBOR() ([]byte, error)
func (*SingleHostAddr) UnmarshalCBOR ¶
func (v *SingleHostAddr) UnmarshalCBOR(data []byte) error
type SingleHostName ¶
func (SingleHostName) Kind ¶
func (v SingleHostName) Kind() int
func (SingleHostName) MarshalCBOR ¶
func (v SingleHostName) MarshalCBOR() ([]byte, error)
func (*SingleHostName) UnmarshalCBOR ¶
func (v *SingleHostName) UnmarshalCBOR(data []byte) error
Click to show internal directories.
Click to hide internal directories.