Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
type NetworkSecret ¶
func NetworkSecretUnmarshal ¶
func NetworkSecretUnmarshal(v string) (*NetworkSecret, error)
func NewNetworkSecret ¶
func NewNetworkSecret(network *net.IPNet) *NetworkSecret
func (NetworkSecret) Bytes ¶
func (ns NetworkSecret) Bytes() []byte
func (NetworkSecret) CIDR ¶
func (ns NetworkSecret) CIDR() string
func (NetworkSecret) Encode ¶
func (ns NetworkSecret) Encode(data []byte) []byte
func (NetworkSecret) InfoHash ¶
func (ns NetworkSecret) InfoHash() string
func (NetworkSecret) Marshal ¶
func (ns NetworkSecret) Marshal() string
Click to show internal directories.
Click to hide internal directories.