outofbandv2

package
v0.0.0-...-57c6170 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperationID      = "/outofband/2.0"
	CreateInvitation = OperationID + "/create-invitation"
	AcceptInvitation = OperationID + "/accept-invitation"
)

constants for the OutOfBandv2 protocol operations.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

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

Operation is controller REST service controller for outofband.

func New

func New(ctx client.Provider) (*Operation, error)

New returns new outofbandv2 rest client protocol instance.

func (*Operation) AcceptInvitation

func (c *Operation) AcceptInvitation(rw http.ResponseWriter, req *http.Request)

AcceptInvitation swagger:route POST /outofband/2.0/accept-invitation outofbandv2 outofbandV2AcceptInvitation

Accepts an invitation.

Responses:

default: genericError
    200: outofbandV2AcceptInvitationResponse

func (*Operation) CreateInvitation

func (c *Operation) CreateInvitation(rw http.ResponseWriter, req *http.Request)

CreateInvitation swagger:route POST /outofband/2.0/create-invitation outofbandv2 outofbandV2CreateInvitation

Creates an invitation.

Responses:

default: genericError
    200: outofbandV2CreateInvitationResponse

func (*Operation) GetRESTHandlers

func (c *Operation) GetRESTHandlers() []rest.Handler

GetRESTHandlers get all controller API handler available for this protocol service.

Jump to

Keyboard shortcuts

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