doorman

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const AcceptedEvent = "accepted"
View Source
const ConnectionTopic = "connections"

Variables

This section is empty.

Functions

This section is empty.

Types

type DIDAcceptedEvent

type DIDAcceptedEvent struct {
	AgentName    string `json:"agent_name"`
	MyDID        string `json:"my_did"`
	TheirDID     string `json:"their_did"`
	ConnectionID string `json:"connection_id"`
	ExternalID   string `json:"external_id"`
}

type Doorman

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

func New

func New(prov provider) (*Doorman, error)

func (*Doorman) APISpec

func (r *Doorman) APISpec() (http.HandlerFunc, error)

func (*Doorman) GetInvitation

func (r *Doorman) GetInvitation(_ context.Context, request *common.InvitationRequest) (*common.InvitationResponse, error)

func (*Doorman) RegisterGRPCGateway

func (r *Doorman) RegisterGRPCGateway(_ *runtime.ServeMux, _ string, _ ...grpc.DialOption)

func (*Doorman) RegisterGRPCHandler

func (r *Doorman) RegisterGRPCHandler(server *grpc.Server)

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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