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 ¶
func (a EchoServiceApi) Echo(id string) (ExamplepbSimpleMessage, error)
*
- 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 ¶
func (a EchoServiceApi) EchoBody(body ExamplepbSimpleMessage) (ExamplepbSimpleMessage, error)
*
- 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"`
}
Click to show internal directories.
Click to hide internal directories.