verify

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CACert

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

type CertRequest

type CertRequest struct {
	Pub string `json:"pub"`
}

type EmailRequest

type EmailRequest struct {
	Account string `json:"account"`
	Code    string `json:"code"`
}

type GenericBindingError

type GenericBindingError struct{}

func (*GenericBindingError) Error

func (e *GenericBindingError) Error() string

func (*GenericBindingError) Message

func (*GenericBindingError) Status

func (e *GenericBindingError) 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 VerificationServer

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

func NewVerificationServer

func NewVerificationServer(host string, port int, em *email.EmailManager, cm *cert.CertManager, km *keyset.KeyManager, ts *turnstile.Turnstile) *VerificationServer

func (*VerificationServer) Start

func (s *VerificationServer) Start()

type VerifySuccess

type VerifySuccess struct{}

func (*VerifySuccess) Error

func (e *VerifySuccess) Error() string

func (*VerifySuccess) Message

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

func (*VerifySuccess) Status

func (e *VerifySuccess) Status() int

Jump to

Keyboard shortcuts

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