Documentation ¶
Overview ¶
Code generated by tars2go 1.2.3, DO NOT EDIT. This file was generated from ./EndpointF.tars Package endpointf comment
Index ¶
- type EndpointF
- func (st *EndpointF) ReadBlock(readBuf *codec.Reader, tag byte, require bool) error
- func (st *EndpointF) ReadFrom(readBuf *codec.Reader) error
- func (st *EndpointF) ResetDefault()
- func (st *EndpointF) WriteBlock(buf *codec.Buffer, tag byte) error
- func (st *EndpointF) WriteTo(buf *codec.Buffer) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointF ¶
type EndpointF struct { Host string `json:"host" tars:"host,tag:0,require:true"` Port int32 `json:"port" tars:"port,tag:1,require:true"` Timeout int32 `json:"timeout" tars:"timeout,tag:2,require:true"` Istcp int32 `json:"istcp" tars:"istcp,tag:3,require:true"` Grid int32 `json:"grid" tars:"grid,tag:4,require:true"` Groupworkid int32 `json:"groupworkid" tars:"groupworkid,tag:5,require:false"` Grouprealid int32 `json:"grouprealid" tars:"grouprealid,tag:6,require:false"` SetId string `json:"setId" tars:"setId,tag:7,require:false"` Qos int32 `json:"qos" tars:"qos,tag:8,require:false"` BakFlag int32 `json:"bakFlag" tars:"bakFlag,tag:9,require:false"` Weight int32 `json:"weight" tars:"weight,tag:11,require:false"` WeightType int32 `json:"weightType" tars:"weightType,tag:12,require:false"` AuthType int32 `json:"authType" tars:"authType,tag:13,require:false"` }
EndpointF struct implement
func (*EndpointF) ResetDefault ¶
func (st *EndpointF) ResetDefault()
func (*EndpointF) WriteBlock ¶
WriteBlock encode struct
Click to show internal directories.
Click to hide internal directories.