http

package
v0.0.1-0...-6deec57 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

Adapter is http server app adapter

func NewAdapter

func NewAdapter(httpServer *http.Server) *Adapter

NewAdapter provides new primary HTTP adapter

func (*Adapter) Start

func (adapter *Adapter) Start(ctx context.Context) error

Start start http application adapter

func (*Adapter) Stop

func (adapter *Adapter) Stop(ctx context.Context) error

Stop stops http application adapter

Directories

Path Synopsis
Package middleware provides http middleware
Package middleware provides http middleware
authenticator
Package authenticator provides allows to authorize request
Package authenticator provides allows to authorize request
Package response provides helpers and utils for working with HTTP response
Package response provides helpers and utils for working with HTTP response
json
Package response provides helpers and utils for working with HTTP response Package response provides helpers and utils for working with HTTP response
Package response provides helpers and utils for working with HTTP response Package response provides helpers and utils for working with HTTP response

Jump to

Keyboard shortcuts

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