echo

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Echo_Echo_Helper = struct {
	Args           func(ping *Ping) *Echo_Echo_Args
	IsException    func(error) bool
	WrapResponse   func(*Pong, error) (*Echo_Echo_Result, error)
	UnwrapResponse func(*Echo_Echo_Result) (*Pong, error)
}{}

Functions

This section is empty.

Types

type Echo_Echo_Args

type Echo_Echo_Args struct {
	Ping *Ping `json:"ping,omitempty"`
}

func (*Echo_Echo_Args) EnvelopeType

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

func (*Echo_Echo_Args) FromWire

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

func (*Echo_Echo_Args) MethodName

func (v *Echo_Echo_Args) MethodName() string

func (*Echo_Echo_Args) String

func (v *Echo_Echo_Args) String() string

func (*Echo_Echo_Args) ToWire

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

type Echo_Echo_Result

type Echo_Echo_Result struct {
	Success *Pong `json:"success,omitempty"`
}

func (*Echo_Echo_Result) EnvelopeType

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

func (*Echo_Echo_Result) FromWire

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

func (*Echo_Echo_Result) MethodName

func (v *Echo_Echo_Result) MethodName() string

func (*Echo_Echo_Result) String

func (v *Echo_Echo_Result) String() string

func (*Echo_Echo_Result) ToWire

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

type Ping

type Ping struct {
	Beep string `json:"beep"`
}

func (*Ping) FromWire

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

func (*Ping) String

func (v *Ping) String() string

func (*Ping) ToWire

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

type Pong

type Pong struct {
	Boop string `json:"boop"`
}

func (*Pong) FromWire

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

func (*Pong) String

func (v *Pong) String() string

func (*Pong) ToWire

func (v *Pong) 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