webserver

package
v0.0.0-...-17b2b45 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebServer

type WebServer struct {
	StorageClient *storage.StorageClient
	Router        *mux.Router
}

func NewWebServer

func NewWebServer(storage *storage.StorageClient) *WebServer

func (*WebServer) Register

func (s *WebServer) Register()

Register registers the routes for the webserver

func (*WebServer) Run

func (s *WebServer) Run(ctx context.Context) error

Run starts the webserver

Jump to

Keyboard shortcuts

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