server

package
v0.0.0-...-eea009c Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GRPCEndpoints    = endpoints.GRPCRegistry{}
	GatewayEndpoints = endpoints.ProxyRegistry{}
	CorsPatterns     = grpc_cors.PatternRegistry{}
)

Functions

This section is empty.

Types

type ServerOptions

type ServerOptions struct {
	RecommendedOptions *options.RecommendedOptions
	LogRPC             bool
}

func NewServerOptions

func NewServerOptions() *ServerOptions

func (*ServerOptions) Complete

func (o *ServerOptions) Complete() error

func (ServerOptions) Config

func (o ServerOptions) Config() (*server.Config, error)

func (ServerOptions) RunServer

func (o ServerOptions) RunServer(stopCh <-chan struct{}) error

func (ServerOptions) Validate

func (o ServerOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

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