config

package
v0.0.0-...-c229084 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MIT 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 {
	// DataDir Agent 数据存储目录
	DataDir string `json:"data_dir"`
	// ServerAddr Adanos Server GRPC 监听地址
	ServerAddr string `json:"server_addr"`
	// ServerToken Adanos Server GRPC 访问秘钥
	ServerToken string `json:"server_token"`

	// Listen Agent 监听地址
	Listen string `json:"listen"`
	// LogPath Agent 日志目录
	LogPath string `json:"log_path"`
}

Config Agent 配置对象

Jump to

Keyboard shortcuts

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