service

package
v0.0.0-...-5c498b8 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2018 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ErrorResponseCode   = "404" // 错误响应code
	SuccessResponseCode = "200" // 正确响应code
)

Variables

This section is empty.

Functions

func NewServer

func NewServer() *negroni.Negroni

NewServer configures and returns a Server.

Types

type Peoples

type Peoples struct {
	Count    int           `json:"count"`
	Next     string        `json:"next"`
	Previous string        `json:"previous"`
	Results  []interface{} `json:"results"`
}

Jump to

Keyboard shortcuts

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