challenge

package
v1.7.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeChallengeEndpoint

func MakeChallengeEndpoint(svc Service) endpoint.Endpoint

func RegisterHTTPHandlers

func RegisterHTTPHandlers(r *mux.Router, e Endpoints, options ...httptransport.ServerOption)

Types

type ChallengeService

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

func NewService

func NewService(cs *challengestore.Depot) *ChallengeService

func (*ChallengeService) SCEPChallenge

func (c *ChallengeService) SCEPChallenge(ctx context.Context) (string, error)

type Endpoints

type Endpoints struct {
	ChallengeEndpoint endpoint.Endpoint
}

func MakeServerEndpoints

func MakeServerEndpoints(s Service, outer endpoint.Middleware, others ...endpoint.Middleware) Endpoints

type Service

type Service interface {
	SCEPChallenge(ctx context.Context) (string, error)
}

Jump to

Keyboard shortcuts

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