echo

package
v0.0.0-...-04d03d2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2016 License: BSD-3-Clause Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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