service

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: GPL-3.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLogger

func BuildLogger(logDriver string) logging.LogWriter

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(cxt context.Context, cfg ServerConfig) *Server

func (*Server) AddCustomLogger

func (s *Server) AddCustomLogger(lw logging.LogWriter)

func (*Server) StartBlocking

func (s *Server) StartBlocking(r chi.Router)

type ServerConfig

type ServerConfig struct {
	BindingIP   string
	BindingPort string
}

Jump to

Keyboard shortcuts

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