handler

package
v0.0.0-...-4972dd0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHandlers

func GetHandlers() map[string]Handler

func HandlerExists

func HandlerExists(n string) bool

func Run

func Run(n string, args map[string]interface{}) ([]byte, error)

Types

type ErrorHandleNotExists

type ErrorHandleNotExists struct {
	Message string
}

func (ErrorHandleNotExists) Error

func (e ErrorHandleNotExists) Error() string

type GetProjectConfig

type GetProjectConfig struct {
}

func (GetProjectConfig) Process

func (i GetProjectConfig) Process(args map[string]interface{}) (re []byte, err error)

type Handler

type Handler interface {
	Process(args map[string]interface{}) ([]byte, error)
}

Jump to

Keyboard shortcuts

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