nebula

package
v1.19.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "v1.17.5"
	Conf    = config.NewConfig()
	Service = micro.NewService()
	Web     = web.NewService()
)

Functions

func InitProcess

func InitProcess()

func NewService

func NewService() micro.Service

func Run

func Run()

func RunProcess

func RunProcess(process func(context.Context, context.CancelFunc) error)

func RunWeb

func RunWeb()

func SetName

func SetName(name string)

Types

type Option

type Option func(*Options)

type Options

type Options struct {
	Version string
	Conf    config.Config
	Service micro.Service
	Web     web.Service
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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