api

package
v0.0.0-...-77ed12a Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const V1ApiQueue = "v1"

V1ApiQueue api version

Variables

This section is empty.

Functions

func AddEndPoint

func AddEndPoint(queue, url string)

AddEndPoint add endpoint to reg endpoints array

func CheckEndPoint

func CheckEndPoint(queue, url string) error

CheckEndPoint endpoint in reg endpoints

func NewEndPointV1Test

func NewEndPointV1Test(set *config.Setup) (*v1test, error)

NewEndPointV1Test constructor for /v1/test/{id}

Types

type User

type User struct {
	Id   string
	Name string
}

User base struct for users

func (User) String

func (u User) String() string

Jump to

Keyboard shortcuts

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