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: 18 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 {
	VPHTML                 string
	DIDCOMMVPHTML          string
	VCSURL                 string
	TLSConfig              *tls.Config
	RequestTokens          map[string]string
	OIDCProviderURL        string
	OIDCClientID           string
	OIDCClientSecret       string
	OIDCCallbackURL        string
	TransientStoreProvider storage.Provider
	WACIOIDCProviderURL    string
	WACIOIDCClientID       string
	WACIOIDCClientSecret   string
	WACIOIDCCallbackURL    string
}

Config defines configuration for rp operations

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 rp operation instance

func (*Operation) GetRESTHandlers

func (c *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