Documentation ¶
Index ¶
- Variables
- type EchoRequest
- type EchoResponse
- type Hello_Echo_Args
- func (v *Hello_Echo_Args) EnvelopeType() wire.EnvelopeType
- func (v *Hello_Echo_Args) Equals(rhs *Hello_Echo_Args) bool
- func (v *Hello_Echo_Args) FromWire(w wire.Value) error
- func (v *Hello_Echo_Args) MethodName() string
- func (v *Hello_Echo_Args) String() string
- func (v *Hello_Echo_Args) ToWire() (wire.Value, error)
- type Hello_Echo_Result
- func (v *Hello_Echo_Result) EnvelopeType() wire.EnvelopeType
- func (v *Hello_Echo_Result) Equals(rhs *Hello_Echo_Result) bool
- func (v *Hello_Echo_Result) FromWire(w wire.Value) error
- func (v *Hello_Echo_Result) MethodName() string
- func (v *Hello_Echo_Result) String() string
- func (v *Hello_Echo_Result) ToWire() (wire.Value, error)
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,required"` Count int16 `json:"count,required"` }
func (*EchoRequest) Equals ¶ added in v1.8.0
func (v *EchoRequest) Equals(rhs *EchoRequest) bool
func (*EchoRequest) String ¶
func (v *EchoRequest) String() string
type EchoResponse ¶
type EchoResponse struct { Message string `json:"message,required"` Count int16 `json:"count,required"` }
func (*EchoResponse) Equals ¶ added in v1.8.0
func (v *EchoResponse) Equals(rhs *EchoResponse) bool
func (*EchoResponse) String ¶
func (v *EchoResponse) String() string
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) MethodName ¶
func (v *Hello_Echo_Args) MethodName() string
func (*Hello_Echo_Args) String ¶
func (v *Hello_Echo_Args) String() string
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) MethodName ¶
func (v *Hello_Echo_Result) MethodName() string
func (*Hello_Echo_Result) String ¶
func (v *Hello_Echo_Result) String() string
Click to show internal directories.
Click to hide internal directories.