api

package
v0.0.0-...-55f5b86 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	Url string
	// contains filtered or unexported fields
}

func (*Api) Init

func (api *Api) Init(channels *channels.Channels) error

func (Api) RegisterChannels

func (api Api) RegisterChannels(container *restful.Container)
func (api Api) RegisterLinks(container *restful.Container)

func (*Api) Start

func (api *Api) Start() error

func (*Api) Stop

func (api *Api) Stop()

type ApiError

type ApiError struct {
	Msg string
}

type User

type User struct {
	Id   string
	Name string
}

type UserResource

type UserResource struct {
	// contains filtered or unexported fields
}

func (UserResource) Register

func (c UserResource) Register(container *restful.Container)

Jump to

Keyboard shortcuts

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