config

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentConfig

type AgentConfig struct {
	TcpPort       int              `json:"tcp_port"`
	HttpPort      int              `json:"http_port"`
	ProfilePort   int              `json:"profile_port"`
	ServerAddress string           `json:"server_address"`
	Log           newlog.LogConfig `json:"log"`
	Scripts       []ScriptConfig   `json:"scripts"`
}

func (*AgentConfig) Parse

func (c *AgentConfig) Parse(configPath string)

type ScriptConfig

type ScriptConfig struct {
	ScriptPath string `json:"path"`
	ScriptType string `json:"type"`
}

Jump to

Keyboard shortcuts

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