Documentation
¶
Index ¶
Constants ¶
View Source
const ( PackageLess = iota PackageFull PackageError )
Variables ¶
This section is empty.
Functions ¶
func SetMaxPackageLength ¶
func SetMaxPackageLength(len int)
SetMaxPackageLength sets the max length of tars packet
func TarsRequest ¶
Types ¶
type TarsProtocol ¶
type TarsProtocol struct{}
func (*TarsProtocol) ParsePackage ¶
func (p *TarsProtocol) ParsePackage(rev []byte) (int, int)
func (*TarsProtocol) RequestPack ¶
func (p *TarsProtocol) RequestPack(req *requestf.RequestPacket) ([]byte, error)
func (*TarsProtocol) ResponseUnpack ¶
func (p *TarsProtocol) ResponseUnpack(pkg []byte) (*requestf.ResponsePacket, error)
Directories
¶
Path | Synopsis |
---|---|
res
|
|
adminf
Package adminf comment This file was generated by tars2go 1.1.7 Generated from AdminF.tars
|
Package adminf comment This file was generated by tars2go 1.1.7 Generated from AdminF.tars |
basef
Package basef comment This file was generated by tars2go 1.1.7 Generated from BaseF.tars
|
Package basef comment This file was generated by tars2go 1.1.7 Generated from BaseF.tars |
configf
Package configf comment This file was generated by tars2go 1.1.7 Generated from ConfigF.tars Package configf comment This file was generated by tars2go 1.1.7 Generated from ConfigF.tars
|
Package configf comment This file was generated by tars2go 1.1.7 Generated from ConfigF.tars Package configf comment This file was generated by tars2go 1.1.7 Generated from ConfigF.tars |
endpointf
Package endpointf comment This file was generated by tars2go 1.1.7 Generated from EndpointF.tars
|
Package endpointf comment This file was generated by tars2go 1.1.7 Generated from EndpointF.tars |
logf
Package logf comment This file was generated by tars2go 1.1.7 Generated from LogF.tars Package logf comment This file was generated by tars2go 1.1.7 Generated from LogF.tars
|
Package logf comment This file was generated by tars2go 1.1.7 Generated from LogF.tars Package logf comment This file was generated by tars2go 1.1.7 Generated from LogF.tars |
nodef
Package nodef comment This file was generated by tars2go 1.1.7 Generated from NodeF.tars Package nodef comment This file was generated by tars2go 1.1.7 Generated from NodeF.tars
|
Package nodef comment This file was generated by tars2go 1.1.7 Generated from NodeF.tars Package nodef comment This file was generated by tars2go 1.1.7 Generated from NodeF.tars |
notifyf
Package notifyf comment This file was generated by tars2go 1.1.7 Generated from NotifyF.tars Package notifyf comment This file was generated by tars2go 1.1.7 Generated from NotifyF.tars
|
Package notifyf comment This file was generated by tars2go 1.1.7 Generated from NotifyF.tars Package notifyf comment This file was generated by tars2go 1.1.7 Generated from NotifyF.tars |
propertyf
Package propertyf comment This file was generated by tars2go 1.1.7 Generated from PropertyF.tars Package propertyf comment This file was generated by tars2go 1.1.7 Generated from PropertyF.tars
|
Package propertyf comment This file was generated by tars2go 1.1.7 Generated from PropertyF.tars Package propertyf comment This file was generated by tars2go 1.1.7 Generated from PropertyF.tars |
queryf
Package queryf comment This file was generated by tars2go 1.1.7 Generated from QueryF.tars
|
Package queryf comment This file was generated by tars2go 1.1.7 Generated from QueryF.tars |
requestf
Package requestf comment This file was generated by tars2go 1.1.7 Generated from RequestF.tars
|
Package requestf comment This file was generated by tars2go 1.1.7 Generated from RequestF.tars |
statf
Package statf comment This file was generated by tars2go 1.1.7 Generated from StatF.tars Package statf comment This file was generated by tars2go 1.1.7 Generated from StatF.tars
|
Package statf comment This file was generated by tars2go 1.1.7 Generated from StatF.tars Package statf comment This file was generated by tars2go 1.1.7 Generated from StatF.tars |
Click to show internal directories.
Click to hide internal directories.