networktest

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type NetworkTestService

type NetworkTestService interface {
	// Parameters:
	//  - Params
	Send(ctx context.Context, params *ThriftDataParams) (_r *ThriftDataResult_, _err error)
}

type NetworkTestServiceClient

type NetworkTestServiceClient struct {
	// contains filtered or unexported fields
}

func NewNetworkTestServiceClient

func NewNetworkTestServiceClient(c thrift.TClient) *NetworkTestServiceClient

func NewNetworkTestServiceClientProtocol

func NewNetworkTestServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *NetworkTestServiceClient

func (*NetworkTestServiceClient) Client_

func (*NetworkTestServiceClient) LastResponseMeta_ added in v0.16.0

func (p *NetworkTestServiceClient) LastResponseMeta_() thrift.ResponseMeta

func (*NetworkTestServiceClient) Send

Parameters:

  • Params

func (*NetworkTestServiceClient) SetLastResponseMeta_ added in v0.16.0

func (p *NetworkTestServiceClient) SetLastResponseMeta_(meta thrift.ResponseMeta)

type NetworkTestServiceProcessor

type NetworkTestServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewNetworkTestServiceProcessor

func NewNetworkTestServiceProcessor(handler NetworkTestService) *NetworkTestServiceProcessor

func (*NetworkTestServiceProcessor) AddToProcessorMap

func (p *NetworkTestServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*NetworkTestServiceProcessor) GetProcessorFunction

func (p *NetworkTestServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*NetworkTestServiceProcessor) Process

func (p *NetworkTestServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*NetworkTestServiceProcessor) ProcessorMap

type NetworkTestServiceSendArgs

type NetworkTestServiceSendArgs struct {
	Params *ThriftDataParams `thrift:"params,1" db:"params" json:"params"`
}

Attributes:

  • Params

func NewNetworkTestServiceSendArgs

func NewNetworkTestServiceSendArgs() *NetworkTestServiceSendArgs

func (*NetworkTestServiceSendArgs) GetParams

func (*NetworkTestServiceSendArgs) IsSetParams

func (p *NetworkTestServiceSendArgs) IsSetParams() bool

func (*NetworkTestServiceSendArgs) Read

func (*NetworkTestServiceSendArgs) ReadField1

func (p *NetworkTestServiceSendArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*NetworkTestServiceSendArgs) String

func (p *NetworkTestServiceSendArgs) String() string

func (*NetworkTestServiceSendArgs) Write

type NetworkTestServiceSendResult

type NetworkTestServiceSendResult struct {
	Success *ThriftDataResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewNetworkTestServiceSendResult

func NewNetworkTestServiceSendResult() *NetworkTestServiceSendResult

func (*NetworkTestServiceSendResult) GetSuccess

func (*NetworkTestServiceSendResult) IsSetSuccess

func (p *NetworkTestServiceSendResult) IsSetSuccess() bool

func (*NetworkTestServiceSendResult) Read

func (*NetworkTestServiceSendResult) ReadField0

func (*NetworkTestServiceSendResult) String

func (*NetworkTestServiceSendResult) Write

type ThriftDataParams

type ThriftDataParams struct {
	Data string `thrift:"data,1,required" db:"data" json:"data"`
}

Attributes:

  • Data
var NetworkTestServiceSendArgs_Params_DEFAULT *ThriftDataParams

func NewThriftDataParams

func NewThriftDataParams() *ThriftDataParams

func (*ThriftDataParams) Equals added in v0.16.0

func (p *ThriftDataParams) Equals(other *ThriftDataParams) bool

func (*ThriftDataParams) GetData

func (p *ThriftDataParams) GetData() string

func (*ThriftDataParams) Read

func (p *ThriftDataParams) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*ThriftDataParams) ReadField1

func (p *ThriftDataParams) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ThriftDataParams) String

func (p *ThriftDataParams) String() string

func (*ThriftDataParams) Write

func (p *ThriftDataParams) Write(ctx context.Context, oprot thrift.TProtocol) error

type ThriftDataResult_

type ThriftDataResult_ struct {
	BytesReceived int64 `thrift:"bytes_received,1,required" db:"bytes_received" json:"bytes_received"`
}

Attributes:

  • BytesReceived
var NetworkTestServiceSendResult_Success_DEFAULT *ThriftDataResult_

func NewThriftDataResult_

func NewThriftDataResult_() *ThriftDataResult_

func (*ThriftDataResult_) Equals added in v0.16.0

func (p *ThriftDataResult_) Equals(other *ThriftDataResult_) bool

func (*ThriftDataResult_) GetBytesReceived

func (p *ThriftDataResult_) GetBytesReceived() int64

func (*ThriftDataResult_) Read

func (p *ThriftDataResult_) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*ThriftDataResult_) ReadField1

func (p *ThriftDataResult_) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ThriftDataResult_) String

func (p *ThriftDataResult_) String() string

func (*ThriftDataResult_) Write

func (p *ThriftDataResult_) Write(ctx context.Context, oprot thrift.TProtocol) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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