api

package
v0.0.0-...-67faadc Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 License: Apache-2.0 Imports: 11 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 struct {
	Cfg         *cfg.Cfg                        `inject:""`
	WorkerPool  *components.WorkerPool          `inject:""`
	PController *components.ProcessorController `inject:""`
	// contains filtered or unexported fields
}

func (*Api) Config

func (a *Api) Config(ctx *macaron.Context)

func (*Api) Hello

func (a *Api) Hello(ctx *macaron.Context)

func (*Api) Init

func (a *Api) Init() error

func (*Api) Processor

func (a *Api) Processor(ctx *macaron.Context)

func (*Api) Run

func (a *Api) Run(ctx context.Context) error

func (*Api) Workers

func (a *Api) Workers(ctx *macaron.Context)

Jump to

Keyboard shortcuts

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