Controllers

package
v0.0.0-...-a291660 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppAllControl

type AppAllControl struct {
	GoCrab.Controller
}

func (*AppAllControl) Get

func (ctr *AppAllControl) Get()

get all app list of an product

type AppControl

type AppControl struct {
	GoCrab.Controller
}

func (*AppControl) Delete

func (ctr *AppControl) Delete()

delete app by aid

func (*AppControl) Get

func (ctr *AppControl) Get()

get app name

func (*AppControl) Head

func (ctr *AppControl) Head()

exists app by aid

func (*AppControl) Post

func (ctr *AppControl) Post()

create new app

func (*AppControl) Put

func (ctr *AppControl) Put()

update app info

type ConfigAllControl

type ConfigAllControl struct {
	GoCrab.Controller
}

func (*ConfigAllControl) Get

func (ctr *ConfigAllControl) Get()

get all configs of an app

type ConfigControl

type ConfigControl struct {
	GoCrab.Controller
}

func (*ConfigControl) Delete

func (ctr *ConfigControl) Delete()

delete config by key

func (*ConfigControl) Get

func (ctr *ConfigControl) Get()

get config

func (*ConfigControl) Head

func (ctr *ConfigControl) Head()

exists config key

func (*ConfigControl) Post

func (ctr *ConfigControl) Post()

create new config

func (*ConfigControl) Put

func (ctr *ConfigControl) Put()

update config value

type ProductAllControl

type ProductAllControl struct {
	GoCrab.Controller
}

func (*ProductAllControl) Get

func (ctr *ProductAllControl) Get()

get all products info

type ProductControl

type ProductControl struct {
	GoCrab.Controller
}

func (*ProductControl) Delete

func (ctr *ProductControl) Delete()

delete product by pid

func (*ProductControl) Get

func (ctr *ProductControl) Get()

get product name

func (*ProductControl) Head

func (ctr *ProductControl) Head()

exists product by pid

func (*ProductControl) Post

func (ctr *ProductControl) Post()

create new product

func (*ProductControl) Put

func (ctr *ProductControl) Put()

update product info

type StatusControl

type StatusControl struct {
	GoCrab.Controller
}

func (*StatusControl) Get

func (ctr *StatusControl) Get()

Jump to

Keyboard shortcuts

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