server

package
v0.0.0-...-b288cfe Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: GPL-3.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

View Source
const (
	SHUTDOWN_TIMEOUT = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	App *fiber.App
	// contains filtered or unexported fields
}

func New

func New(logging *logging.Logging) *Server

func (*Server) Listen

func (o *Server) Listen()

type ServerConfig

type ServerConfig struct {
	Ip   string `json:"ip"`
	Port int64  `json:"port"`
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(logging *logging.Logging) *ServerConfig

func (*ServerConfig) Read

func (o *ServerConfig) Read() error

Jump to

Keyboard shortcuts

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