Documentation ¶
Index ¶
- Variables
- func BasicAuth(validator middleware.BasicAuthValidator) echo.MiddlewareFunc
- func HandleApiV1(config *Config, g *echo.Group)
- func TriggerShutdown(delay time.Duration)
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetConfigPath() string
- func (x *Config) GetLogin() string
- func (x *Config) GetPassword() string
- func (x *Config) GetPort() uint32
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Monitor
Constants ¶
This section is empty.
Variables ¶
View Source
var File_monitor_config_proto protoreflect.FileDescriptor
Functions ¶
func BasicAuth ¶
func BasicAuth(validator middleware.BasicAuthValidator) echo.MiddlewareFunc
func HandleApiV1 ¶
func TriggerShutdown ¶
Types ¶
type Config ¶
type Config struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` ConfigPath string `protobuf:"bytes,2,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` Login string `protobuf:"bytes,3,opt,name=login,proto3" json:"login,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetConfigPath ¶
func (*Config) GetPassword ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.