rest

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnauthorized          = errors.New("unauthorized")
	ErrBasicAuthNotSupported = errors.New("basic authorization is not enabled")
	ErrNonTokenAuth          = errors.New("non-token auth attempted")
)

Functions

This section is empty.

Types

type Service

type Service interface {
	Run()
}

func NewDiscoService

func NewDiscoService(jwt jwt.Jwt, registry api.Registry, cfg *config.AppConfig) (Service, error)

Jump to

Keyboard shortcuts

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