echo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EchoHelper = struct {
	IsException    func(error) bool
	Args           func(ping *echo.Ping) *EchoArgs
	WrapResponse   func(*echo.Pong, error) (*EchoResult, error)
	UnwrapResponse func(*EchoResult) (*echo.Pong, error)
}{}

Functions

This section is empty.

Types

type EchoArgs

type EchoArgs struct {
	Ping *echo.Ping `json:"ping,omitempty"`
}

func (*EchoArgs) EnvelopeType

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

func (*EchoArgs) FromWire

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

func (*EchoArgs) MethodName

func (v *EchoArgs) MethodName() string

func (*EchoArgs) String

func (v *EchoArgs) String() string

func (*EchoArgs) ToWire

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

type EchoResult

type EchoResult struct {
	Success *echo.Pong `json:"success,omitempty"`
}

func (*EchoResult) EnvelopeType

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

func (*EchoResult) FromWire

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

func (*EchoResult) MethodName

func (v *EchoResult) MethodName() string

func (*EchoResult) String

func (v *EchoResult) String() string

func (*EchoResult) ToWire

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

Jump to

Keyboard shortcuts

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