server

package
v0.97.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayResponse

type ArrayResponse []string

type MapResponse

type MapResponse map[string]string

type Middleware

type Middleware func(next http.Handler) http.Handler

type Server

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

func NewServer

func NewServer(cfg *holos.Config, db *ent.Client, verifier authn.Verifier) (*Server, error)

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() (*http.Server, *int32, *int32)

func (*Server) Mux

func (s *Server) Mux() *http.ServeMux

Jump to

Keyboard shortcuts

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