Documentation
¶
Overview ¶
Package msg defined transaction message
Index ¶
- type Message
- func (m *Message) Begin()
- func (m *Message) End()
- func (m *Message) Free()
- func (m *Message) Put(bs []byte)
- func (m *Message) PutB64EncodedBytes(key string, bytes []byte)
- func (m *Message) PutBool(key string, value bool)
- func (m *Message) PutByte(b byte)
- func (m *Message) PutFloat(key string, value float64)
- func (m *Message) PutInt(key string, value int)
- func (m *Message) PutInts(key string, values []int)
- func (m *Message) PutNonEmptyString(key, value string)
- func (m *Message) PutObject(key string, object io.Encoder)
- func (m *Message) PutObjects(key string, objects []io.Encoder)
- func (m *Message) PutString(key, value string)
- func (m *Message) PutStrings(key string, values []string)
- func (m *Message) PutUInts(key string, values []uint64)
- func (m *Message) WriteTo(w iow.Writer) (int64, error)
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
Message represents transaction message
func (*Message) PutB64EncodedBytes ¶
PutB64EncodedBytes puts ky and bas64 encoded values
func (*Message) PutNonEmptyString ¶
PutNonEmptyString put key and non empty value
func (*Message) PutObjects ¶
PutObjects put objects
func (*Message) PutStrings ¶
PutStrings put key and string slice
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider represents a message provider
func NewProvider ¶
NewProvider creates a message provider with supplied buffer size and pool size
Click to show internal directories.
Click to hide internal directories.