core

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRouteNotFound = errors.New("route not found")
View Source
var ErrServiceNotFound = errors.New("service not found")
View Source
var ErrServiceUnavailable = errors.New("service unavailable")

Functions

func MatchPath

func MatchPath(routes []route.Route, path string) (r *route.Route, err error)

Types

type Core

type Core interface {
	Version() string
	Run() error
}

func New

func New(version string, cfg *config.Config) (Core, error)

type Matcher

type Matcher struct {
	Service service.Service
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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