server

package
v0.9.75 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const EvaluationTimeout = 90 * time.Second
View Source
const MaxRequestBodySize = 80 << 20 // 80 MB

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address            string
	Port               int
	Policy             policy.Policy
	Info               bool
	ShowSuccesses      bool
	ShowWarnings       bool
	ShowPolicyDocsLink bool
}

type Server

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

func New

func New(cfg Config) *Server

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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