actions

package
v3.0.8-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNewAction

func RegisterNewAction(action *Action)

RegisterCliAction registe action to actions

Types

type Action

type Action struct {
	Name    string
	Handler handler
}

Action restful action struct

func GetCliAction

func GetCliAction() []*Action

GetCliAction fetch api actions

Jump to

Keyboard shortcuts

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