ofrep

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOfrepHandler

func NewOfrepHandler(logger *logger.Logger, evaluator evaluator.IEvaluator) http.Handler

Types

type IOfrepService

type IOfrepService interface {
	// Start the OFREP service with context for shutdown
	Start(context.Context) error
}

type Service

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

func NewOfrepService

func NewOfrepService(evaluator evaluator.IEvaluator, origins []string, cfg SvcConfiguration) (*Service, error)

func (Service) Start

func (s Service) Start(ctx context.Context) error

type SvcConfiguration

type SvcConfiguration struct {
	Logger *logger.Logger
	Port   uint16
}

Jump to

Keyboard shortcuts

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