core

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 1 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 {
	// 服务器端配置
	Server config.Server `json:"server" yaml:"server" xml:"server" toml:"server" validate:"required"`
	// 客户端配置
	Clients []config.Client `json:"clients" yaml:"clients" toml:"clients" xml:"clients"`
	// gRPC配置
	Options config.Options `json:"options" yaml:"options" xml:"options" toml:"options"`
}

type Wrapper

type Wrapper struct {
	// gRPC配置
	Grpc Config `json:"grpc" yaml:"grpc" xml:"grpc" toml:"grpc" validate:"required"`
}

Jump to

Keyboard shortcuts

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