app

package
v0.0.0-...-1ba36ab Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server represents the application server.

func NewServer

func NewServer(ctx context.Context) *Server

NewServer creates a new Server instance.

func (*Server) Serve

func (server *Server) Serve()

Serve starts the server.

func (*Server) Shutdown

func (server *Server) Shutdown()

Shutdown gracefully shuts down the server.

Jump to

Keyboard shortcuts

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