Documentation ¶
Overview ¶
Package gobx Created by xuzhuoxi on 2019-03-25. @author xuzhuoxi
Package gobx Created by xuzhuoxi on 2019-02-16. @author xuzhuoxi
Index ¶
- Variables
- func NewDefaultGobBuffCodecs() encodingx.IBuffCodecs
- func NewDefaultGobBuffDecoder() encodingx.IBuffDecoder
- func NewDefaultGobBuffEncoder() encodingx.IBuffEncoder
- func NewDefaultGobCodingHandler() encodingx.ICodingHandler
- func NewGobBuffCodecs(handler bytex.IDataBlockHandler) encodingx.IBuffCodecs
- func NewGobBuffDecoder(handler bytex.IDataBlockHandler) encodingx.IBuffDecoder
- func NewGobBuffEncoder(handler bytex.IDataBlockHandler) encodingx.IBuffEncoder
- func NewGobCodingHandler() encodingx.ICodingHandler
- func NewGobCodingHandlerAsync() encodingx.ICodingHandler
- func NewGobCodingHandlerSync() encodingx.ICodingHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultDataBlockHandler = bytex.NewDefaultDataBlockHandler() DefaultPoolGobCodingHandler = encodingx.NewPoolCodingHandler() DefaultPoolGobBuffEncoder = encodingx.NewPoolBuffEncoder() DefaultPoolGobBuffDecoder = encodingx.NewPoolBuffDecoder() DefaultPoolGobBuffCodecs = encodingx.NewPoolBuffCodecs() )
Functions ¶
func NewDefaultGobBuffCodecs ¶
func NewDefaultGobBuffCodecs() encodingx.IBuffCodecs
func NewDefaultGobBuffDecoder ¶
func NewDefaultGobBuffDecoder() encodingx.IBuffDecoder
func NewDefaultGobBuffEncoder ¶
func NewDefaultGobBuffEncoder() encodingx.IBuffEncoder
func NewDefaultGobCodingHandler ¶
func NewDefaultGobCodingHandler() encodingx.ICodingHandler
func NewGobBuffCodecs ¶
func NewGobBuffCodecs(handler bytex.IDataBlockHandler) encodingx.IBuffCodecs
func NewGobBuffDecoder ¶
func NewGobBuffDecoder(handler bytex.IDataBlockHandler) encodingx.IBuffDecoder
func NewGobBuffEncoder ¶
func NewGobBuffEncoder(handler bytex.IDataBlockHandler) encodingx.IBuffEncoder
func NewGobCodingHandler ¶
func NewGobCodingHandler() encodingx.ICodingHandler
NewGobCodingHandler 由于复用buff,相同结构体只有第一次才会追加TypeDescriptor
func NewGobCodingHandlerAsync ¶
func NewGobCodingHandlerAsync() encodingx.ICodingHandler
NewGobCodingHandlerAsync 每次都会追加TypeDescriptor到编码中去
func NewGobCodingHandlerSync ¶
func NewGobCodingHandlerSync() encodingx.ICodingHandler
NewGobCodingHandlerSync 由于复用buff,相同结构体只有第一次才会追加TypeDescriptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.