server
Explore the following sections to learn more:
server
import "github.com/gemini-oss/rego/pkg/common/server"pkg/common/server/server.go
Index
func StartServer
func StartServer(addr string, handlers map[string]http.HandlerFunc)# Create a new HTTP server - addr: Address to listen on - handlers: Map of routes and handlers
type Handler
type Handler map[string]http.HandlerFunctype Handlers
type Handlers []HandlerGenerated by gomarkdoc