oathkeeper: github.com/ory/oathkeeper/x Index | Files

package x

import "github.com/ory/oathkeeper/x"


Package Files

deepcopy.go registry.go router.go template.go url.go version.go


const UnknownVersion = "master"


var (
    Version = "master"
    Date    = "undefined"
    Commit  = "undefined"

func Deepcopy Uses

func Deepcopy(m map[string]interface{}) (map[string]interface{}, error)

Deepcopy performs a deep copy of the given map m.

func NewTemplate Uses

func NewTemplate(id string) *template.Template

NewTemplate creates a template with additional functions

func ParseURLOrFatal Uses

func ParseURLOrFatal(l *logrusx.Logger, in string) *url.URL

ParseURLOrFatal parses a url or fatals. This is the same function as urlx.ParseOrFatal() except that it uses urlx.Parse() instead of url.Parse()

func ParseURLOrPanic Uses

func ParseURLOrPanic(in string) *url.URL

ParseURLOrPanic parses a url or panics. This is the same function as urlx.ParseOrPanic() except that it uses urlx.Parse() instead of url.Parse()

type RegistryLogger Uses

type RegistryLogger interface {
    Logger() *logrusx.Logger

type RegistryWriter Uses

type RegistryWriter interface {
    Writer() herodot.Writer

type RouterAPI Uses

type RouterAPI struct {

func NewAPIRouter Uses

func NewAPIRouter() *RouterAPI

type TestLoggerProvider Uses

type TestLoggerProvider struct{}

func (*TestLoggerProvider) Logger Uses

func (lp *TestLoggerProvider) Logger() *logrusx.Logger

Package x imports 12 packages (graph) and is imported by 10 packages. Updated 2020-11-24. Refresh now. Tools for package owners.