Documentation ¶
Index ¶
- Constants
- func DecodeList(b []byte) []interface{}
- func DecodeMap(b []byte) map[string]interface{}
- func Encode(v interface{}) []byte
- func FolderName(skip int) string
- func Func(skip int) (string, string, int)
- func FuncName(skip int) string
- func GetCall(call string) reflect.Value
- func GetXCall(call string) reflect.Value
- func Home(context *gin.Context)
- func Init(m map[string]interface{})
- func InitService(context *gin.Context)
- func Process(name string, bs [][]byte) []byte
- func Run(name string, b []byte) []byte
- func RunService(context *gin.Context)
- func Serve(port int, initFunc, runFunc interface{})
- func SetCall(call string, value interface{})
- type Config
Constants ¶
View Source
const ( DOT = "." COLON = ":" SLASH = "/" )
Ops
View Source
const ( PathRoot = "/" PathInit = "/init" PathRunService = "/run/:service" )
Paths
View Source
const ( INIT = "init" RUN = "run" )
Services
View Source
const ( OK = "ok" EMPTY = "" CTJSON = "application/json;chartset=uft-8" )
View Source
const (
ParamService = "service"
)
Variables ¶
This section is empty.
Functions ¶
func DecodeList ¶
func DecodeList(b []byte) []interface{}
func FolderName ¶
func InitService ¶
func RunService ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.