api

package
v5.1.3-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2019 License: LGPL-3.0 Imports: 20 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prometheus

func Prometheus()

Prometheus prometheus init

Types

type Manager

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

func NewManager

func NewManager(c option.Config) (*Manager, error)

NewManager api manager

func (*Manager) Start

func (m *Manager) Start(errChan chan error)

Start 启动

func (*Manager) Stop

func (m *Manager) Stop() error

Stop 停止

type Server

type Server interface {
	Server() error
	Close() error
}

Directories

Path Synopsis
grpc
pb

Jump to

Keyboard shortcuts

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