publickey

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publickey

type Publickey struct {
	// contains filtered or unexported fields
}

Publickey struct

func New

func New(publicKeyFile string, freshnessTime time.Duration, logger *zap.Logger) (*Publickey, error)

New publickey reader/checker

func (Publickey) Enabled

func (pk Publickey) Enabled() bool

Enabled publickey is enabled

func (Publickey) Verify

func (pk Publickey) Verify(t string) (string, error)

Verify verify auth header

Jump to

Keyboard shortcuts

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