Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryMarshaller ¶ added in v0.5.0
type BinaryMarshaller[T Identifiable] struct{}
func (BinaryMarshaller[T]) Marshal ¶ added in v0.5.0
func (d BinaryMarshaller[T]) Marshal(v T) (string, []byte, error)
func (BinaryMarshaller[T]) Unmarshal ¶ added in v0.5.0
func (d BinaryMarshaller[T]) Unmarshal(v []byte) (T, error)
type Identifiable ¶ added in v0.5.0
type Identifiable interface {
ID() string
}
Click to show internal directories.
Click to hide internal directories.