Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolValue ¶
BoolValue returns the value of the bool pointer passed in or false if the pointer is nil.
func BoolValueMap ¶
BoolValueMap converts a string map of bool pointers into a string map of bool values
func BoolValueSlice ¶
BoolValueSlice converts a slice of bool pointers into a slice of bool values
func ByteValue ¶
ByteValue returns the value of the byte pointer passed in or 0 if the pointer is nil.
func ByteValueMap ¶
ByteValueMap converts a string map of byte pointers into a string map of byte values
func ByteValueSlice ¶
ByteValueSlice converts a slice of byte pointers into a slice of byte values
func Float32Map ¶
Float32Map converts a string map of float32 values into a string map of float32 pointers
func Float32Slice ¶
Float32Slice converts a slice of float32 values into a slice of float32 pointers
func Float32Value ¶
Float32Value returns the value of the float32 pointer passed in or 0 if the pointer is nil.
func Float32ValueMap ¶
Float32ValueMap converts a string map of float32 pointers into a string map of float32 values
func Float32ValueSlice ¶
Float32ValueSlice converts a slice of float32 pointers into a slice of float32 values
func Float64Value ¶
Float64Value returns the value of the float64 pointer passed in or 0 if the pointer is nil.
func Int16Slice ¶
Int16Slice converts a slice of int16 values into a slice of int16 pointers
func Int16Value ¶
Int16Value returns the value of the int16 pointer passed in or 0 if the pointer is nil.
func Int16ValueMap ¶
Int16ValueMap converts a string map of int16 pointers into a string map of int16 values
func Int16ValueSlice ¶
Int16ValueSlice converts a slice of int16 pointers into a slice of int16 values
func Int32Slice ¶
Int32Slice converts a slice of int32 values into a slice of int32 pointers
func Int32Value ¶
Int32Value returns the value of the int32 pointer passed in or 0 if the pointer is nil.
func Int32ValueMap ¶
Int32ValueMap converts a string map of int32 pointers into a string map of int32 values
func Int32ValueSlice ¶
Int32ValueSlice converts a slice of int32 pointers into a slice of int32 values
func IntValueMap ¶
IntValueMap converts a string map of int pointers into a string map of int values
func IntValueSlice ¶
IntValueSlice converts a slice of int pointers into a slice of int values
func StringMap ¶
StringMap converts a string map of string values into a string map of string pointers
func StringSlice ¶
StringSlice converts a slice of string values into a slice of string pointers
func StringValue ¶
StringValue returns the value of the string pointer passed in or "" if the pointer is nil.
func StringValueMap ¶
StringValueMap converts a string map of string pointers into a string map of string values
func StringValueSlice ¶
StringValueSlice converts a slice of string pointers into a slice of string values
func Uint16Map ¶
Uint16Map converts a string map of uint16 values into a string map of uint16 pointers
func Uint16Slice ¶
Uint16Slice converts a slice of uint16 values into a slice of uint16 pointers
func Uint16Value ¶
Uint16Value returns the value of the uint16 pointer passed in or 0 if the pointer is nil.
func Uint16ValueMap ¶
Uint16ValueMap converts a string map of uint16 pointers into a string map of uint16 values
func Uint16ValueSlice ¶
Uint16ValueSlice converts a slice of uint16 pointers into a slice of uint16 values
func Uint32Map ¶
Uint32Map converts a string map of uint32 values into a string map of uint32 pointers
func Uint32Slice ¶
Uint32Slice converts a slice of uint32 values into a slice of uint32 pointers
func Uint32Value ¶
Uint32Value returns the value of the uint32 pointer passed in or 0 if the pointer is nil.
func Uint32ValueMap ¶
Uint32ValueMap converts a string map of uint32 pointers into a string map of uint32 values
func Uint32ValueSlice ¶
Uint32ValueSlice converts a slice of uint32 pointers into a slice of uint32 values
func Uint8Slice ¶
Uint8Slice converts a slice of uint8 values into a slice of uint8 pointers
func Uint8Value ¶
Uint8Value returns the value of the uint8 pointer passed in or 0 if the pointer is nil.
func Uint8ValueMap ¶
Uint8ValueMap converts a string map of uint8 pointers into a string map of uint8 values
func Uint8ValueSlice ¶
Uint8ValueSlice converts a slice of uint8 pointers into a slice of uint8 values
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}