Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StdVersionEncDec = VersionEncDecImpl{}
Functions ¶
This section is empty.
Types ¶
type VersionEncDec ¶
type VersionEncDec interface { Encode(*VersionInfo) ([]byte, error) Decode([]byte) (*VersionInfo, error) }
type VersionEncDecImpl ¶
type VersionEncDecImpl struct{}
func (*VersionEncDecImpl) Decode ¶
func (encDec *VersionEncDecImpl) Decode(info []byte) (*VersionInfo, error)
func (*VersionEncDecImpl) Encode ¶
func (encDec *VersionEncDecImpl) Encode(info *VersionInfo) ([]byte, error)
type VersionInfo ¶
type VersionProvider ¶
type VersionProvider interface { Version() string BuildDate() string Revision() string AsVersionInfo() *VersionInfo EncoderDecoder() VersionEncDec }
Click to show internal directories.
Click to hide internal directories.