validator

package
v0.0.0-...-80bedfa Latest Latest
Warning

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

Go to latest
Published: May 3, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

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

A Validator wraps a webhook to satisfy cert.Validator.

func New

func New(h webhook.Hook) *Validator

New creates a new Validator.

func (*Validator) Validate

func (s *Validator) Validate() error

Validate triggers the wrapped webhook, returning its error.

Jump to

Keyboard shortcuts

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