http

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTP

func NewHTTP(cfg *config.Config) (*stdhttp.HTTP, error)

NewHTTP -- listener initializtion

Types

type HTTP

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

HTTP -- listener struct

func (*HTTP) Handler

func (h *HTTP) Handler(id uint64, prefix string, path string, w http.ResponseWriter, r *http.Request) (processed bool)

Handler -- custom http endpoints handler

Jump to

Keyboard shortcuts

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