model

package
v0.0.0-...-041f4c2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	Id string `url:"id"`
}

type Request

type Request struct {
	Name string `json:"name" url:"name"`
}

Request example incoming request.

type ResponseFail

type ResponseFail struct {
	Status string `json:"status"`
	Reason string `json:"reason"`
}
{
   "status":"fail",
   "reason":"签名验证失败!"
}

type ResponseSucc

type ResponseSucc struct {
	Status string      `json:"status"`
	Info   interface{} `json:"info"`
}
{
   "status":"succ",
   "info":"XXXX"
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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