rest

package
v0.0.0-...-5695882 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 23 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(address string)
}

func Init

func Init(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