operation

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 31 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	StoreProvider        storage.Provider
	HomePageHTML         string
	LoginHTML            string
	DashboardHTML        string
	ConsentHTML          string
	AccountLinkedHTML    string
	AccountNotLinkedHTML string
	TLSConfig            *tls.Config
	VaultServerURL       string
	ComparatorURL        string
	VCIssuerURL          string
	AccountLinkProfile   string
	ExtractorProfile     string
	HostExternalURL      string
	RequestTokens        map[string]string
	SvcName              string
	VDRI                 vdrapi.Registry
	DocumentLoader       ld.DocumentLoader
}

Config config.

type Handler

type Handler interface {
	Path() string
	Method() string
	Handle() http.HandlerFunc
}

Handler http handler for each controller API endpoint.

type Operation

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

Operation defines handlers.

func New

func New(config *Config) (*Operation, error)

New returns ace-rp operation instance.

func (*Operation) GetRESTHandlers

func (o *Operation) GetRESTHandlers() []Handler

GetRESTHandlers get all controller API handler available for this service

Jump to

Keyboard shortcuts

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