keyloader

package
v0.0.0-...-22bf50c Latest Latest
Warning

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

Go to latest
Published: May 17, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Schedule

func Schedule(interval time.Duration, job JobFunc)

Schedule executes the job in regular intervals. The task is left running in the background

Types

type JobFunc

type JobFunc func()

JobFunc is a type that defines a zero argument function

type KeyLoader

type KeyLoader interface {
	LoadKey(id string) (interface{}, error)
	Keys() map[string]interface{}
}

A KeyLoader fetches cryptographic keys and is able to lookup them up by ID or return the entire map of known keys

Directories

Path Synopsis
jwk

Jump to

Keyboard shortcuts

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