Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DecodeError ¶
func (*DecodeError) Error ¶
func (d *DecodeError) Error() string
type EncodeError ¶
better error handling
func (*EncodeError) Error ¶
func (e *EncodeError) Error() string
type Marshaler ¶
Marshaler is the interface implemented by types that can marshal themselves to valid Bencode.
type Unmarshaler ¶
Unmarshaler is the interface implemented by types that can unmarshal a Bencode of themselves.
Click to show internal directories.
Click to hide internal directories.