Documentation
¶
Index ¶
- func CreateMessageFromByte(message []byte) evtwebsocket.Msg
- func CreateMessageFromString(message string) evtwebsocket.Msg
- func DeserializeData(data []byte) (jsonObject interface{})
- func DeserializeDataFromString(data string) (jsonObject interface{})
- func GetAuthToken(message interface{}) string
- func GetIsAuthenticated(message interface{}) bool
- func IsEqual(s string, b []byte) bool
- func PrintMessage(message string)
- func SerializeData(data interface{}) []byte
- func SerializeDataIntoString(data interface{}) string
- func SetMarshaller(isCodecMinBin bool)
- type AtomicCounter
- type Jsoner
- type Marshaller
- type ModifiedMsgE
- type ModifiedMsgP
- type ModifiedMsgR
- type Msgpacker
- type Unmarshaller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMessageFromByte ¶
func CreateMessageFromByte(message []byte) evtwebsocket.Msg
func CreateMessageFromString ¶
func CreateMessageFromString(message string) evtwebsocket.Msg
func DeserializeData ¶
func DeserializeData(data []byte) (jsonObject interface{})
func DeserializeDataFromString ¶
func DeserializeDataFromString(data string) (jsonObject interface{})
func GetAuthToken ¶
func GetAuthToken(message interface{}) string
func GetIsAuthenticated ¶
func GetIsAuthenticated(message interface{}) bool
func PrintMessage ¶
func PrintMessage(message string)
func SerializeData ¶
func SerializeData(data interface{}) []byte
func SerializeDataIntoString ¶
func SerializeDataIntoString(data interface{}) string
func SetMarshaller ¶
func SetMarshaller(isCodecMinBin bool)
Types ¶
type AtomicCounter ¶
type AtomicCounter struct {
Counter uint64
}
func (*AtomicCounter) GetAndIncrement ¶
func (atomicCounter *AtomicCounter) GetAndIncrement() uint64
func (*AtomicCounter) IncrementAndGet ¶
func (atomicCounter *AtomicCounter) IncrementAndGet() uint64
func (*AtomicCounter) Reset ¶
func (atomicCounter *AtomicCounter) Reset()
func (*AtomicCounter) Value ¶
func (atomicCounter *AtomicCounter) Value() uint64
type Marshaller ¶
type ModifiedMsgE ¶
type ModifiedMsgE struct {
E []interface{} `json:"e" msgpack:"e"`
}
type ModifiedMsgP ¶
type ModifiedMsgP struct {
P []interface{} `json:"p" msgpack:"p"`
}
type ModifiedMsgR ¶
type ModifiedMsgR struct {
R []interface{} `json:"r" msgpack:"r"`
}
type Unmarshaller ¶
Click to show internal directories.
Click to hide internal directories.