Documentation
¶
Index ¶
- func ConvertTLSConfigToDTLSConfig(tlsConfig *tls.Config) *dtls.Config
- func GetBytesBuf(size int) []byte
- func GetMsgType(m interface{}) arhatgopb.MsgType
- func NewCmd(marshal types.MarshalFunc, kind arhatgopb.CmdType, id, seq uint64, ...) (*arhatgopb.Cmd, error)
- func NewMsg(marshal types.MarshalFunc, kind arhatgopb.MsgType, id, ack uint64, ...) (*arhatgopb.Msg, error)
- func PutBytesBuf(b *([]byte))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBytesBuf ¶ added in v0.3.0
func GetMsgType ¶ added in v0.3.0
func PutBytesBuf ¶ added in v0.3.0
func PutBytesBuf(b *([]byte))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.