Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendHandler ¶ added in v0.1.18
func AppendHandler(handler http.Handler, scheduler api.Scheduler, privateKey *rsa.PrivateKey) http.Handler
NewHandler creates a new Handler with the given HTTP handler
Types ¶
type Validation ¶
type Validation struct {
// contains filtered or unexported fields
}
func NewValidation ¶
func NewValidation(c Checker, device *device.Device) *Validation
NewValidation creates a new Validation instance
func (*Validation) ExecuteValidation ¶
func (v *Validation) ExecuteValidation(ctx context.Context, req *api.ValidateReq) error
ExecuteValidation performs the validation process
func (*Validation) SetFunc ¶
func (v *Validation) SetFunc(fun func() string)
Click to show internal directories.
Click to hide internal directories.