package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Oct 30, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Bootstrap struct {
Server Server `json:"server,omitempty"`
Log Log `json:"log,omitempty"`
}
type GRPCServer struct {
Network string `json:"network,omitempty"`
Addr string `json:"addr,omitempty"`
Timeout int32 `json:"timeout,omitempty"`
}
type HTTPServer struct {
Network string `json:"network,omitempty"`
Addr string `json:"addr,omitempty"`
Timeout int32 `json:"timeout,omitempty"`
}
type Log struct {
MaxSize int `json:"max_size,omitempty"`
MaxBackups int `json:"max_backups,omitempty"`
MaxAge int `json:"max_age,omitempty"`
}
type Server struct {
Debug bool `json:"debug,omitempty"`
Name string `json:"name,omitempty"`
Version string `json:"version,omitempty"`
Env string `json:"env,omitempty"`
Shell string `json:"shell,omitempty"`
Resource string `json:"resource,omitempty"`
HTTP HTTPServer `json:"http,omitempty"`
GRPC GRPCServer `json:"grpc,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.