package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Dec 15, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Server struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
} `yaml:"server"`
Node []Node `yaml:"node"`
Internal struct {
Target string `yaml:"target"`
Scheme string `yaml:"scheme"`
} `yaml:"internal"`
}
type Count struct {
Count int
Index int
Length int
}
type Node struct {
Name string `yaml:"-"`
Target []string `yaml:"target"`
Path string `yaml:"path"`
Scheme string `yaml:"scheme"`
Config *Count
Health string `yaml:"health"`
}
type NodeHealth struct {
Name string
Success int
Error int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.