service

package
v0.0.0-...-be0592b Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: GPL-3.0 Imports: 36 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 interface {
	Actions() []*httpserver.Action
}

API the API interface

type CoreServiceInterface

type CoreServiceInterface interface {
	WebService() *restful.Container
	SetConfig(cfg options.Config, engin *backbone.Engine, err errors.CCErrorIf, language language.CCLanguageIf) error
}

CoreServiceInterface the topo service methods used to init

func New

New create topo service instance

type LogicFunc

type LogicFunc func(params core.ContextParams, parthParams, queryParams ParamsGetter, data mapstr.MapStr) (interface{}, error)

LogicFunc the core logic function definition

type ParamsGetter

type ParamsGetter func(name string) string

ParamsGetter get param by key

type ParseOriginDataFunc

type ParseOriginDataFunc func(data []byte) (mapstr.MapStr, error)

ParseOriginDataFunc parse the origin data

Jump to

Keyboard shortcuts

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