decision

package
v0.0.0-...-702c227 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock interface {
	Now() time.Time
}

type Decider

type Decider interface {
	Decide(credential *model.DSBAVerifiableCredential, originalAddress string, requestType string, requestBody *map[string]interface{}) (descision model.Decision, err model.HttpError)
}

type RealClock

type RealClock struct{}

func (RealClock) Now

func (c RealClock) Now() time.Time

Jump to

Keyboard shortcuts

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