Documentation ¶
Index ¶
- type Byte
- func (r *Byte) Bytes() (out *[]byte)
- func (r *Byte) Copy(in *[]byte) proto.Buffer
- func (r *Byte) Error() string
- func (r *Byte) Free() proto.Buffer
- func (r *Byte) Freeze() (out *[]byte)
- func (r *Byte) GetCoding() (out *string)
- func (r *Byte) GetElem(index int) (out interface{})
- func (r *Byte) IsEqual(p *[]byte) (is bool)
- func (r *Byte) Len() int
- func (r *Byte) ListCodings() (out *[]string)
- func (r *Byte) OK() bool
- func (r *Byte) SetCoding(in string) proto.Coder
- func (r *Byte) SetElem(index int, in interface{}) proto.Array
- func (r *Byte) SetStatus(s string) proto.Status
- func (r *Byte) SetStatusIf(err error) proto.Status
- func (r *Byte) String() (s string)
- func (r *Byte) Thaw(in *[]byte) proto.Streamer
- func (r *Byte) UnsetStatus() proto.Status
- func (r *Byte) Zero() proto.Buffer
- type Secure
- func (r *Secure) Bytes() (out *[]byte)
- func (r *Secure) Copy(in *[]byte) proto.Buffer
- func (r *Secure) Error() string
- func (r *Secure) Free() proto.Buffer
- func (r *Secure) Freeze() (out *[]byte)
- func (r *Secure) GetCoding() (out *string)
- func (r *Secure) GetElem(index int) (out interface{})
- func (r *Secure) IsEqual(p *[]byte) (is bool)
- func (r *Secure) Len() (length int)
- func (r *Secure) ListCodings() (out *[]string)
- func (r *Secure) OK() bool
- func (r *Secure) Rand(length int) *Secure
- func (r *Secure) SetCoding(in string) proto.Coder
- func (r *Secure) SetElem(index int, in interface{}) proto.Array
- func (r *Secure) SetStatus(s string) proto.Status
- func (r *Secure) SetStatusIf(err error) proto.Status
- func (r *Secure) String() (s string)
- func (r *Secure) Thaw(in *[]byte) proto.Streamer
- func (r *Secure) UnsetStatus() proto.Status
- func (r *Secure) Zero() proto.Buffer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Byte ¶
Byte is a simple byte slice
func (*Byte) IsEqual ¶
IsEqual returns true if a serialized public key matches this one, also in format (compressed is preferred in a distributed ledger due to size)
type Secure ¶
type Secure struct { Val *memguard.LockedBuffer Status string Coding string }
Secure is a memguard LockedBuffer
func (*Secure) IsEqual ¶
IsEqual returns true if a serialized public key matches this one, also in format (compressed is preferred in a distributed ledger due to size).
func (*Secure) ListCodings ¶
ListCodings returns the set of codings available
func (*Secure) String ¶
String implements the stringer, uses coding to determine how the string is contstructed
Click to show internal directories.
Click to hide internal directories.