server

package
v0.0.0-...-8f1e39b Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostRouter

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

func NewHostRouter

func NewHostRouter(notFoundHandler http.HandlerFunc, internalServerHandler func(err error) http.HandlerFunc) HostRouter

func (*HostRouter) Get

func (hr *HostRouter) Get(domain string) chi.Router

func (*HostRouter) Map

func (hr *HostRouter) Map(host string, h chi.Router)

func (HostRouter) ServeHTTP

func (hr HostRouter) ServeHTTP(w http.ResponseWriter, r *http.Request)

type InternalServer

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

func NewInternalServer

func NewInternalServer(logger log.Logger, cfgManager config.Manager, metricsCl metrics.Client) *InternalServer

func (*InternalServer) GenerateServer

func (svr *InternalServer) GenerateServer() error

func (*InternalServer) Listen

func (svr *InternalServer) Listen() error

type Server

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

func NewServer

func NewServer(
	logger log.Logger,
	cfgManager config.Manager,
	metricsCl metrics.Client,
	tracingSvc tracing.Service,
	s3clientManager s3client.Manager,
	webhookManager webhook.Manager,
) *Server

func (*Server) GenerateServer

func (svr *Server) GenerateServer() error

func (*Server) Listen

func (svr *Server) Listen() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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