gatewayoption

package
v0.0.0-...-b3af538 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ConnAuthTimeout int64                    `json:"gw.conn_auth_timeout"`
	WsServerAddr    string                   `json:"gw.ws_server_addr"`
	GatewayCode     string                   `json:"gw.gateway_code"`
	Server          *option.GRPCServerOption `json:"server"`
	Log             *option.LogOption        `json:"log"`
}

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (o *Options) AddFlags()

func (*Options) Validate

func (o *Options) Validate() []error

Jump to

Keyboard shortcuts

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