echo

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 License: MIT Imports: 5 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)
}{}

Functions

This section is empty.

Types

type EchoRequest

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

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) 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) 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) 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