server

package
v0.0.0-...-a82cd95 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(address string, config Config) error

Types

type Config

type Config struct {
	Protocol string `default:"http"`
	Address  string `default:"localhost"`
	Port     int    `default:"3333"`

	ConfigRoute string `default:"/.well-known/openid-configuration"`
	KeyFile     string `default:""`
}

type Hasher

type Hasher func(raw []byte) (disgest []byte)

type J

type J = map[string]string

type Key

type Key interface {
	crypto.Signer
	crypto.SignerOpts
	Hasher() Hasher
	Algo() string
	KID() string
}

Jump to

Keyboard shortcuts

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