config

package
v0.0.0-...-9362bef Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Ip            string // 服务器IP
	GrpcPort      string // gRPC服务端口号
	PortReuse     bool   // http服务与gRPC服务是否端口复用,仅在开启RunHTTP为true时候有效
	RunHTTP       bool   // 是否开启http服务
	HttpPort      string // http服务所在端口号,仅在开启RunHTTP为true时且PortReuse为false时有效
	TLSKey        string // 证书
	TLSPerm       string // 证书
	RunReflection bool   // 是否开启gRPC服务反射
}

Jump to

Keyboard shortcuts

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