comm

package
v0.0.0-...-a5ce5ae Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtocolID = protocol.ID("/did/comm/0.0.1")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientHandler

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

type ClientStream

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

type Handler

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

func NewHandler

func NewHandler(n node.Node) *Handler

func (*Handler) Handle

func (h *Handler) Handle(stream network.Stream)

func (*Handler) Send

func (h *Handler) Send(ctx context.Context, email *comm.Message, opts ...comm.SendOption) error

type ServerHandler

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

func NewServerHandler

func NewServerHandler(nstream network.Stream, store comm.Store, idStore did.IdentityStore) *ServerHandler

Jump to

Keyboard shortcuts

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