engine

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JWKCacheRefresh = 5 * time.Minute

Functions

func Run

func Run(options Options) error

Types

type BearerTransport

type BearerTransport struct {
	Token     string
	Transport http.RoundTripper
}

func (*BearerTransport) RoundTrip

func (b *BearerTransport) RoundTrip(req *http.Request) (*http.Response, error)

type Options

type Options struct {
	Server        string `yaml:"server"`
	Name          string `yaml:"name"`
	APIToken      string `yaml:"apiToken"`
	TLSCache      string `yaml:"tlsCache"`
	SkipTLSVerify bool   `yaml:"skipTLSVerify"`
}

Jump to

Keyboard shortcuts

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