http

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 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 Core

type Core interface {
	handlers.AppGetState
	handlers.AppSetState
}

type Secure

type Secure interface {
	middlewares.Secure
}

type Server

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

func NewServer

func NewServer(params ServerParams) *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(ctx context.Context) error

type ServerParams

type ServerParams struct {
	Config  config.Server
	AppInfo string
	Core    Core
	Secure  Secure
}

Directories

Path Synopsis
handlersfakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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