endpointf

package
v0.0.0-...-2e3adde Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package endpointf comment This file war generated by tars2go 1.1 Generated from EndpointF.tars

Index

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"`
	Port        int32  `json:"port"`
	Timeout     int32  `json:"timeout"`
	Istcp       int32  `json:"istcp"`
	Grid        int32  `json:"grid"`
	Groupworkid int32  `json:"groupworkid"`
	Grouprealid int32  `json:"grouprealid"`
	SetId       string `json:"setId"`
	Qos         int32  `json:"qos"`
	BakFlag     int32  `json:"bakFlag"`
	Weight      int32  `json:"weight"`
	WeightType  int32  `json:"weightType"`
	AuthType    int32  `json:"authType"`
}

EndpointF strcut implement

func (*EndpointF) ReadBlock

func (st *EndpointF) ReadBlock(_is *codec.Reader, tag byte, require bool) error

ReadBlock reads struct from the given tag , require or optional.

func (*EndpointF) ReadFrom

func (st *EndpointF) ReadFrom(_is *codec.Reader) error

ReadFrom reads from _is and put into struct.

func (*EndpointF) WriteBlock

func (st *EndpointF) WriteBlock(_os *codec.Buffer, tag byte) error

WriteBlock encode struct

func (*EndpointF) WriteTo

func (st *EndpointF) WriteTo(_os *codec.Buffer) error

WriteTo encode struct to buffer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL