Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeCryptoHash ¶
ComputeCryptoHash should be used in openchain code so that we can change the actual algo used for crypto-hash at one place
func CreateUtcTimestamp ¶
CreateUtcTimestamp returns a google/protobuf/Timestamp in UTC
Types ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue is a classic implmentation of a FIFO queue object
func (*Queue) Peek ¶
func (q *Queue) Peek() interface{}
Peek returns the data at the head of the queue
func (*Queue) Pop ¶
func (q *Queue) Pop() interface{}
Pop returns the data item at the head of the queue Example e := q.Pop().(T) -- cast e to type T
Click to show internal directories.
Click to hide internal directories.