Documentation
¶
Index ¶
Constants ¶
View Source
const ( PACKAGE_LESS = iota PACKAGE_FULL PACKAGE_ERROR )
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 {
MaxPackageLength int
}
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 war generated by tars2go 1.1 Generated from AdminF.tars
|
Package adminf comment This file war generated by tars2go 1.1 Generated from AdminF.tars |
basef
Package basef comment This file war generated by tars2go 1.1 Generated from BaseF.tars
|
Package basef comment This file war generated by tars2go 1.1 Generated from BaseF.tars |
configf
Package configf comment This file war generated by tars2go 1.1 Generated from Config.tars Package configf comment This file war generated by tars2go 1.1 Generated from Config.tars Package configf comment This file war generated by tars2go 1.1 Generated from Config.tars
|
Package configf comment This file war generated by tars2go 1.1 Generated from Config.tars Package configf comment This file war generated by tars2go 1.1 Generated from Config.tars Package configf comment This file war generated by tars2go 1.1 Generated from Config.tars |
endpointf
Package endpointf comment This file war generated by tars2go 1.1 Generated from EndpointF.tars
|
Package endpointf comment This file war generated by tars2go 1.1 Generated from EndpointF.tars |
logf
Package logf comment This file war generated by tars2go 1.1 Generated from LogF.tars Package logf comment This file war generated by tars2go 1.1 Generated from LogF.tars
|
Package logf comment This file war generated by tars2go 1.1 Generated from LogF.tars Package logf comment This file war generated by tars2go 1.1 Generated from LogF.tars |
nodef
Package nodef comment This file war generated by tars2go 1.1 Generated from NodeF.tars Package nodef comment This file war generated by tars2go 1.1 Generated from NodeF.tars
|
Package nodef comment This file war generated by tars2go 1.1 Generated from NodeF.tars Package nodef comment This file war generated by tars2go 1.1 Generated from NodeF.tars |
notifyf
Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars
|
Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars Package notifyf comment This file war generated by tars2go 1.1 Generated from NotifyF.tars |
propertyf
Package propertyf comment This file war generated by tars2go 1.1 Generated from PropertyF.tars Package propertyf comment This file war generated by tars2go 1.1 Generated from PropertyF.tars Package propertyf comment This file war generated by tars2go 1.1 Generated from PropertyF.tars Package propertyf comment This file war generated by tars2go 1.1 Generated from PropertyF.tars
|
Package propertyf comment This file war generated by tars2go 1.1 Generated from PropertyF.tars Package propertyf comment This file war generated by tars2go 1.1 Generated from PropertyF.tars Package propertyf comment This file war generated by tars2go 1.1 Generated from PropertyF.tars Package propertyf comment This file war generated by tars2go 1.1 Generated from PropertyF.tars |
queryf
Package queryf comment This file war generated by tars2go 1.1 Generated from QueryF.tars
|
Package queryf comment This file war generated by tars2go 1.1 Generated from QueryF.tars |
requestf
Package requestf comment This file war generated by tars2go 1.1 Generated from RequestF.tars Package requestf comment This file war generated by tars2go 1.1 Generated from RequestF.tars
|
Package requestf comment This file war generated by tars2go 1.1 Generated from RequestF.tars Package requestf comment This file war generated by tars2go 1.1 Generated from RequestF.tars |
statf
Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars
|
Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars Package statf comment This file war generated by tars2go 1.1 Generated from StatF.tars |
Click to show internal directories.
Click to hide internal directories.