Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedKeyType = errors.New("unsupported key type")
Functions ¶
This section is empty.
Types ¶
type Coder ¶
type Coder struct {
}
Coder represents a CBOR erializer.
func (*Coder) DecodeKey ¶
DecodeKey returns the decoded key from the specified bytes if available, otherwise returns an error.
func (*Coder) EncodeKey ¶
EncodeKey returns the encoded bytes from the specified key if available, otherwise returns an error.
func (*Coder) ServiceName ¶
ServiceName returns the plug-ing service name.
func (*Coder) ServiceType ¶
func (s *Coder) ServiceType() plugins.ServiceType
ServiceType returns the plug-ing service type.
Click to show internal directories.
Click to hide internal directories.