api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(ctx context.Context, opt Opts) (grpc.APIServer, error)

NewServer returns grpc server instance.

Types

type Opts

type Opts struct {
	Rules   map[string]map[string]grpc.Rule
	Tracers map[string]tracer.Tracer
	Actions map[string]action.Action

	TracerList []string
	ActionList []string
}

Opts holds the options for a server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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