api

package
v0.0.0-...-678c32f Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIModule

type APIModule struct {
}

APIModule is used to start API server

func (APIModule) Name

func (module APIModule) Name() string

Name return API

func (APIModule) Setup

func (module APIModule) Setup(cfg *config.Config)

Start api server

func (APIModule) Start

func (module APIModule) Start() error

func (APIModule) Stop

func (module APIModule) Stop() error

Stop api server

Jump to

Keyboard shortcuts

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