engine

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.0 Imports: 32 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 `mapstructure:"server"`
	Name          string `mapstructure:"name"`
	AccessKey     string `mapstructure:"accessKey"`
	TLSCache      string `mapstructure:"tlsCache"`
	SkipTLSVerify bool   `mapstructure:"skipTLSVerify"`
}

Jump to

Keyboard shortcuts

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