http

package
v0.0.0-...-033ce30 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RealIP

func RealIP() func(next http.Handler) http.Handler

Types

type HandlerFunc

type HandlerFunc func(r *http.Request) (HttpResponse, error)

type HttpResponse

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

type Server

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

func NewServer

func NewServer(
	config ced.Config,
	groupContract ced.GroupContract,
) *Server

func (*Server) Close

func (s *Server) Close() error

func (*Server) GetBoundAddr

func (s *Server) GetBoundAddr() string

func (*Server) Open

func (s *Server) Open(address string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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