service

package
v3.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 23 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 {
	SetCore(coreMgr core.Core)
	Actions() []*httpserver.Action
}

API the API interface

type LogicFunc

type LogicFunc func(params types.ContextParams, parthParams, queryParams ParamsGetter, data frtypes.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) (frtypes.MapStr, error)

ParseOriginDataFunc parse the origin data

type TopoServiceInterface

type TopoServiceInterface interface {
	SetOperation(operation core.Core, err errors.CCErrorIf, language language.CCLanguageIf)
	WebService() *restful.WebService
	SetConfig(cfg options.Config, engin *backbone.Engine)
}

TopoServiceInterface the topo service methods used to init

func New

New ceate topo servcie instance

Jump to

Keyboard shortcuts

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