conf

package
v0.0.0-...-33cbb82 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: GPL-3.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 AgentConf

type AgentConf struct {
	HeartbeatPeriodSeconds int
	ServerMeta
}

AgentConf config of Agent

type Conf

type Conf struct {
	Server   *ServerConf
	Getaway  *GatewayConf
	Agent    *AgentConf
	LogLevel uint8
	LogPath  string
}

Conf .

type GatewayConf

type GatewayConf struct {
	MaxRecvByteSize int
	MaxSendByteSize int
	Port            int
	ServerMeta
}

GatewayConf config of Gateway

type ServerConf

type ServerConf struct {
	MaxRecvByteSize int
	MaxSendByteSize int
	Port            int
}

ServerConf config of Server

type ServerMeta

type ServerMeta struct {
	ServerAddr string
	Insecure   bool
	CertFile   string
	CertData   string
}

ServerMeta .

Jump to

Keyboard shortcuts

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