server

package
v0.0.0-...-99fe3a6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Clock = clock.New()
)

Functions

This section is empty.

Types

type Server

type Server struct {
	Supervisor *suture.Supervisor
	// contains filtered or unexported fields
}

func New

func New() *Server

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) error

func (*Server) SetLegacy

func (s *Server) SetLegacy(l legacy.HandlerIFace)

type TryEnroll

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

func NewTryEnroll

func NewTryEnroll(identity identity.Identity, enrolled chan<- *domain.Enrollment) *TryEnroll

func (*TryEnroll) Enroll

func (t *TryEnroll) Enroll() error

func (*TryEnroll) Serve

func (t *TryEnroll) Serve(ctx context.Context) error

func (*TryEnroll) String

func (t *TryEnroll) String() string

Jump to

Keyboard shortcuts

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