server

package
v0.0.0-...-c1658d6 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFailedToCreateListener = errors.New("failed to create listener")
)

Functions

func GenerateSelfSignedCert

func GenerateSelfSignedCert(certFile string, keyFile string) error

Types

type Server

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

func NewServer

func NewServer(app *app.Application) *Server

func (*Server) Notify

func (s *Server) Notify() <-chan error

func (*Server) Start

func (s *Server) Start(app *app.Application)

func (*Server) Stop

func (s *Server) Stop() error

Jump to

Keyboard shortcuts

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