Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Head ¶
type Head struct { Domain string Id string Sequence int BodyType string *stamp.Timestamp *signature.Signature }
Head implements the record.HeaderInterface
func (*Head) GetSequence ¶
func (*Head) SetSequence ¶
type HeaderInterface ¶
type HeaderInterface interface { IsTimeSet() bool GetSignature() ([]byte, error) SetSignature([]byte) Check() error IsSignatureSet() bool GetDomain() string SetDomain(string) GetId() string SetId(string) GetSequence() int SetSequence(int) }
HeaderInterface defines the minimum set of calls required for a header
Click to show internal directories.
Click to hide internal directories.