authority

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	CERT = "CERTIFICATE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CACert

type CACert struct {
	Cert string `json:"cert"`
}

type CertAuthority

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

func NewCertAuthority

func NewCertAuthority(logger *zap.Logger, host string, port int) *CertAuthority

func (*CertAuthority) Register

func (ca *CertAuthority) Register(e *echo.Echo) error

func (*CertAuthority) ValidateSession

func (ca *CertAuthority) ValidateSession(next echo.HandlerFunc) echo.HandlerFunc

type CertDecodeError

type CertDecodeError struct{}

type CertFormatError

type CertFormatError struct{}

type CertInternalError

type CertInternalError struct{}

func (*CertInternalError) Error

func (e *CertInternalError) Error() string

func (*CertInternalError) Message

func (e *CertInternalError) Message() *proto.ResponseMessage

func (*CertInternalError) Status

func (e *CertInternalError) Status() int

type CertMissingError

type CertMissingError struct{}

func (*CertMissingError) Error

func (e *CertMissingError) Error() string

func (*CertMissingError) Message

func (e *CertMissingError) Message() *proto.ResponseMessage

func (*CertMissingError) Status

func (e *CertMissingError) Status() int

type CertUnauthorizedError

type CertUnauthorizedError struct{}

func (*CertUnauthorizedError) Error

func (e *CertUnauthorizedError) Error() string

func (*CertUnauthorizedError) Message

func (*CertUnauthorizedError) Status

func (e *CertUnauthorizedError) Status() int

type SignatureDecodeError

type SignatureDecodeError struct{}

func (*SignatureDecodeError) Error

func (e *SignatureDecodeError) Error() string

func (*SignatureDecodeError) Message

func (*SignatureDecodeError) Status

func (e *SignatureDecodeError) Status() int

type SignatureMissingError

type SignatureMissingError struct{}

func (*SignatureMissingError) Error

func (e *SignatureMissingError) Error() string

func (*SignatureMissingError) Message

func (*SignatureMissingError) Status

func (e *SignatureMissingError) Status() int

type SignatureVerificationError

type SignatureVerificationError struct{}

func (*SignatureVerificationError) Error

func (*SignatureVerificationError) Message

func (*SignatureVerificationError) Status

func (e *SignatureVerificationError) Status() int

Jump to

Keyboard shortcuts

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