echo

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Hello_Echo_Helper = struct {
	Args           func(echo *EchoRequest) *Hello_Echo_Args
	IsException    func(error) bool
	WrapResponse   func(*EchoResponse, error) (*Hello_Echo_Result, error)
	UnwrapResponse func(*Hello_Echo_Result) (*EchoResponse, error)
}{}
View Source
var ThriftModule = &thriftreflect.ThriftModule{Name: "echo", Package: "go.uber.org/yarpc/internal/examples/thrift-hello/hello/echo", FilePath: "echo.thrift", SHA1: "619e87984e33d89e2f63c235bf6b0c1003898504", Raw: rawIDL}

Functions

This section is empty.

Types

type EchoRequest

type EchoRequest struct {
	Message string `json:"message"`
	Count   int16  `json:"count"`
}

func (*EchoRequest) Equals added in v1.8.0

func (v *EchoRequest) Equals(rhs *EchoRequest) bool

func (*EchoRequest) FromWire

func (v *EchoRequest) FromWire(w wire.Value) error

func (*EchoRequest) String

func (v *EchoRequest) String() string

func (*EchoRequest) ToWire

func (v *EchoRequest) ToWire() (wire.Value, error)

type EchoResponse

type EchoResponse struct {
	Message string `json:"message"`
	Count   int16  `json:"count"`
}

func (*EchoResponse) Equals added in v1.8.0

func (v *EchoResponse) Equals(rhs *EchoResponse) bool

func (*EchoResponse) FromWire

func (v *EchoResponse) FromWire(w wire.Value) error

func (*EchoResponse) String

func (v *EchoResponse) String() string

func (*EchoResponse) ToWire

func (v *EchoResponse) ToWire() (wire.Value, error)

type Hello_Echo_Args

type Hello_Echo_Args struct {
	Echo *EchoRequest `json:"echo,omitempty"`
}

func (*Hello_Echo_Args) EnvelopeType

func (v *Hello_Echo_Args) EnvelopeType() wire.EnvelopeType

func (*Hello_Echo_Args) Equals added in v1.8.0

func (v *Hello_Echo_Args) Equals(rhs *Hello_Echo_Args) bool

func (*Hello_Echo_Args) FromWire

func (v *Hello_Echo_Args) FromWire(w wire.Value) error

func (*Hello_Echo_Args) MethodName

func (v *Hello_Echo_Args) MethodName() string

func (*Hello_Echo_Args) String

func (v *Hello_Echo_Args) String() string

func (*Hello_Echo_Args) ToWire

func (v *Hello_Echo_Args) ToWire() (wire.Value, error)

type Hello_Echo_Result

type Hello_Echo_Result struct {
	Success *EchoResponse `json:"success,omitempty"`
}

func (*Hello_Echo_Result) EnvelopeType

func (v *Hello_Echo_Result) EnvelopeType() wire.EnvelopeType

func (*Hello_Echo_Result) Equals added in v1.8.0

func (v *Hello_Echo_Result) Equals(rhs *Hello_Echo_Result) bool

func (*Hello_Echo_Result) FromWire

func (v *Hello_Echo_Result) FromWire(w wire.Value) error

func (*Hello_Echo_Result) MethodName

func (v *Hello_Echo_Result) MethodName() string

func (*Hello_Echo_Result) String

func (v *Hello_Echo_Result) String() string

func (*Hello_Echo_Result) ToWire

func (v *Hello_Echo_Result) ToWire() (wire.Value, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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