framework

package
v0.0.0-...-89805ac Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DID          Type = "did"
	Schema       Type = "schema"
	Issuing      Type = "issuing"
	Credential   Type = "credential"
	KeyStore     Type = "keystore"
	Manifest     Type = "manifest"
	Presentation Type = "presentation"
	Operation    Type = "operation"

	StatusReady    StatusState = "ready"
	StatusNotReady StatusState = "not_ready"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Type() Type
	Status() Status
}

Service is an interface each service must comply with to be registered and orchestrated by the http.

type Status

type Status struct {
	Status  StatusState `json:"status,omitempty"`
	Message string      `json:"message,omitempty"`
}

Status is for service reporting on their status

func (Status) IsReady

func (s Status) IsReady() bool

type StatusState

type StatusState string

type Type

type Type string

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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