conf

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 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 Bootstrap

type Bootstrap struct {
	Server Server `json:"server,omitempty"`
	Log    Log    `json:"log,omitempty"`
}

type GRPCServer

type GRPCServer struct {
	Network string `json:"network,omitempty"`
	Addr    string `json:"addr,omitempty"`
	Timeout int32  `json:"timeout,omitempty"`
}

type HTTPServer

type HTTPServer struct {
	Network string `json:"network,omitempty"`
	Addr    string `json:"addr,omitempty"`
	Timeout int32  `json:"timeout,omitempty"`
}

type Log

type Log struct {
	MaxSize    int `json:"max_size,omitempty"`
	MaxBackups int `json:"max_backups,omitempty"`
	MaxAge     int `json:"max_age,omitempty"`
}

type Server

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"`
}

Jump to

Keyboard shortcuts

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