Documentation ¶
Index ¶
Constants ¶
View Source
const ( E_EXT_NOT_SUPPORT = "E_EXT_NOT_SUPPORT" E_BAD_TAG = "E_BAD_TAG" E_INVALID_JSON_HEADER = "E_INVALID_JSON_HEADER" CLIENT_DISPATCH_TAG_KEY = "##client_dispatch_tag" TRACE_ID_KEY = "##trace_id" MaxExtLen = 65535 )
Variables ¶
version for message has json header ext
View Source
var MAX_TAG_LEN = 100
ext versions version for message has no ext
version for message has tag ext
Functions ¶
Types ¶
type JsonHeaderExt ¶
type JsonHeaderExt struct {
// contains filtered or unexported fields
}
func NewJsonHeaderExt ¶
func NewJsonHeaderExt() *JsonHeaderExt
func (*JsonHeaderExt) ExtVersion ¶
func (self *JsonHeaderExt) ExtVersion() ExtVer
func (*JsonHeaderExt) GetBytes ¶
func (self *JsonHeaderExt) GetBytes() []byte
func (*JsonHeaderExt) SetJsonHeaderBytes ¶
func (self *JsonHeaderExt) SetJsonHeaderBytes(jsonExtBytes []byte)
Click to show internal directories.
Click to hide internal directories.