json

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorJSON

type ErrorJSON struct {
	// TODO: エラーレスポンス要検討
	Code    int    `json:"-"`
	Message string `json:"message"`
}

type MessageResponse

type MessageResponse struct {
	Message string `json:"message"`
}

type UserJson

type UserJson struct {
	Id           int64  `json:"id"`
	Name         string `json:"name"`
	Email        string `json:"email"`
	SessionToken string `json:"session_token"`
}

func NewUserJson

func NewUserJson() *UserJson

Jump to

Keyboard shortcuts

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