service

package
v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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 CCWebServer

type CCWebServer struct {
	// contains filtered or unexported fields
}

CCAPIServer define data struct of bcs ccapi server

func NewCCWebServer

func NewCCWebServer(conf *config.CCAPIConfig) (*CCWebServer, error)

func (*CCWebServer) HealthMetric

func (ccWeb *CCWebServer) HealthMetric() metric.HealthMeta

HealthMetric check netservice is health

func (*CCWebServer) RegisterActions

func (ccWeb *CCWebServer) RegisterActions(actions []*webserver.Action)

func (*CCWebServer) Start

func (ccWeb *CCWebServer) Start() error

Start the web server

func (*CCWebServer) Stop

func (ccWeb *CCWebServer) Stop() error

Stop the ccapi server

Jump to

Keyboard shortcuts

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