server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RouterConfig router.Config
	RouterHook   func(r chi.Router)
}

type Server

type Server struct {
	chi.Router
}

func NewServer

func NewServer(config *Config) (*Server, error)

type ServerLogger

type ServerLogger struct{}

func (*ServerLogger) Print

func (l *ServerLogger) Print(v ...interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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