Versions in this module Expand all Collapse all v1 v1.0.1 Sep 14, 2024 Changes in this version + func Bool(v bool) *bool + func BoolMap(src map[string]bool) map[string]*bool + func BoolSlice(src []bool) []*bool + func BoolValue(v *bool) bool + func BoolValueMap(src map[string]*bool) map[string]bool + func BoolValueSlice(src []*bool) []bool + func Byte(v byte) *byte + func ByteMap(src map[string]byte) map[string]*byte + func ByteSlice(src []byte) []*byte + func ByteValue(v *byte) byte + func ByteValueMap(src map[string]*byte) map[string]byte + func ByteValueSlice(src []*byte) []byte + func Float32(v float32) *float32 + func Float32Map(src map[string]float32) map[string]*float32 + func Float32Slice(src []float32) []*float32 + func Float32Value(v *float32) float32 + func Float32ValueMap(src map[string]*float32) map[string]float32 + func Float32ValueSlice(src []*float32) []float32 + func Float64(v float64) *float64 + func Float64Value(v *float64) float64 + func Int(v int) *int + func Int16(v int16) *int16 + func Int16Map(src map[string]int16) map[string]*int16 + func Int16Slice(src []int16) []*int16 + func Int16Value(v *int16) int16 + func Int16ValueMap(src map[string]*int16) map[string]int16 + func Int16ValueSlice(src []*int16) []int16 + func Int32(v int32) *int32 + func Int32Map(src map[string]int32) map[string]*int32 + func Int32Slice(src []int32) []*int32 + func Int32Value(v *int32) int32 + func Int32ValueMap(src map[string]*int32) map[string]int32 + func Int32ValueSlice(src []*int32) []int32 + func IntMap(src map[string]int) map[string]*int + func IntSlice(src []int) []*int + func IntValue(v *int) int + func IntValueMap(src map[string]*int) map[string]int + func IntValueSlice(src []*int) []int + func Marshal(v interface{}) ([]byte, error) + func MarshalMessage(message message.Message) ([]byte, error) + func Read(reader io.Reader) (*message.Message, error) + func ReadFloat32(data io.Reader, length uint32) (*float32, error) + func ReadFloat64(data io.Reader, length uint32) (*float64, error) + func ReadHeader(bytes io.Reader) (uint32, uint16, error) + func ReadInt16(data io.Reader, length uint32) (*int16, error) + func ReadInt32(data io.Reader, length uint32) (*int32, error) + func ReadInt64(data io.Reader, length uint32) (*int64, error) + func ReadInt8(data io.Reader, length uint32) (*int8, error) + func ReadString(data io.Reader, length uint32) (*string, error) + func ReadUint16(data io.Reader, length uint32) (*uint16, error) + func ReadUint32(data io.Reader, length uint32) (*uint32, error) + func ReadUint64(data io.Reader, length uint32) (*uint64, error) + func ReadUint8(data io.Reader, length uint32) (*uint8, error) + func String(v string) *string + func StringMap(src map[string]string) map[string]*string + func StringSlice(src []string) []*string + func StringValue(v *string) string + func StringValueMap(src map[string]*string) map[string]string + func StringValueSlice(src []*string) []string + func Uint16(v uint16) *uint16 + func Uint16Map(src map[string]uint16) map[string]*uint16 + func Uint16Slice(src []uint16) []*uint16 + func Uint16Value(v *uint16) uint16 + func Uint16ValueMap(src map[string]*uint16) map[string]uint16 + func Uint16ValueSlice(src []*uint16) []uint16 + func Uint32(v uint32) *uint32 + func Uint32Map(src map[string]uint32) map[string]*uint32 + func Uint32Slice(src []uint32) []*uint32 + func Uint32Value(v *uint32) uint32 + func Uint32ValueMap(src map[string]*uint32) map[string]uint32 + func Uint32ValueSlice(src []*uint32) []uint32 + func Uint8(v uint8) *uint8 + func Uint8Map(src map[string]uint8) map[string]*uint8 + func Uint8Slice(src []uint8) []*uint8 + func Uint8Value(v *uint8) uint8 + func Uint8ValueMap(src map[string]*uint8) map[string]uint8 + func Uint8ValueSlice(src []*uint8) []uint8 + type Client struct + func New() *Client + func NewWithHandler(messageHandler func(*message.Message) (keepMessage bool, err error)) *Client + func (c *Client) Close() error + func (c *Client) ConnectWithType(address string, typ message.ClientTyp) error + func (c *Client) Receive() (*message.Message, error) + func (c *Client) Send(message message.Message) error