service

package
v0.0.0-...-f1af898 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUser

func GetUser(c echo.Context) error

func GetUser2

func GetUser2(c echo.Context) error

Types

type APIError

type APIError struct {
	Code    int         `json:"code"`
	Details interface{} `json:"details"`
	Message string      `json:"message"`
}

type APIResult

type APIResult struct {
	Result  interface{} `json:"result"`
	Success bool        `json:"success"`
	Error   APIError    `json:"error"`
}

type User

type User struct {
	Name string
	Sex  string
}

func (User) MarshalXML

func (u User) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*User) UmarshalXML

func (u *User) UmarshalXML(d *xml.Decoder, start xml.StartElement) error

type User2

type User2 struct {
	Name string `xml:"name"`
	Sex  string `xml:"sex"`
}

Jump to

Keyboard shortcuts

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