echo

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoServiceApi

type EchoServiceApi struct {
	// contains filtered or unexported fields
}

func NewEchoServiceApi

func NewEchoServiceApi() *EchoServiceApi

func NewEchoServiceApiWithBasePath

func NewEchoServiceApiWithBasePath(basePath string) *EchoServiceApi

func (EchoServiceApi) Echo

*

  • Echo method receives a simple message and returns it.
  • The message posted as the id parameter will also be\nreturned.
  • @param id
  • @return ExamplepbSimpleMessage

func (a EchoServiceApi) Echo (id string) (ExamplepbSimpleMessage, error) {

func (EchoServiceApi) EchoBody

*

  • EchoBody method receives a simple message and returns it. *
  • @param body
  • @return ExamplepbSimpleMessage

func (a EchoServiceApi) EchoBody (body ExamplepbSimpleMessage) (ExamplepbSimpleMessage, error) {

type ExamplepbSimpleMessage

type ExamplepbSimpleMessage struct {
	Id string `json:"id,omitempty"`
}

Jump to

Keyboard shortcuts

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