mailbox

package
v0.0.0-...-fc18678 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailbox

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

func NewMailbox

func NewMailbox() *Mailbox

func (*Mailbox) Deliver

func (mb *Mailbox) Deliver(rec *spb.Record) *MailboxHandle

func (*Mailbox) Respond

func (mb *Mailbox) Respond(result *spb.Result) bool

type MailboxHandle

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

func NewMailboxHandle

func NewMailboxHandle() *MailboxHandle

func (*MailboxHandle) Wait

func (mbh *MailboxHandle) Wait() *spb.Result

Jump to

Keyboard shortcuts

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