Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromBytes ¶
func NewFromBytes(b B) (ei *T, err E)
func NewFromString ¶
func NewFromString(s S) (ei *T, err E)
NewFromString inspects a string and ensures it is a valid, 64 character long hexadecimal string, returns the string coerced to the type.
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
T is the SHA256 hash in hexadecimal of the canonical form of an event as produced by the output of T.ToCanonical().Bytes().
func (*T) ByteString ¶
func (ei *T) ByteString(src B) (b B)
func (*T) MarshalJSON ¶
func (ei *T) MarshalJSON() (b B, err E)
func (*T) UnmarshalJSON ¶
func (ei *T) UnmarshalJSON(b B) (err E)
Click to show internal directories.
Click to hide internal directories.