email

package
v0.0.0-...-e2e80d8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const EmailAddress_TypeID = 0xacaddcee86563ee1

EmailAddress_TypeID is the unique identifier for the type EmailAddress.

View Source
const EmailAgent_TypeID = 0x8b6f158d70cbc773

EmailAgent_TypeID is the unique identifier for the type EmailAgent.

View Source
const EmailAgent_addReceiver_Params_TypeID = 0xfacf412b11767e9e

EmailAgent_addReceiver_Params_TypeID is the unique identifier for the type EmailAgent_addReceiver_Params.

View Source
const EmailAgent_addReceiver_Results_TypeID = 0x8e8e3d68615d430c

EmailAgent_addReceiver_Results_TypeID is the unique identifier for the type EmailAgent_addReceiver_Results.

View Source
const EmailAgent_send_Params_TypeID = 0xa8eb16da45ad8f97

EmailAgent_send_Params_TypeID is the unique identifier for the type EmailAgent_send_Params.

View Source
const EmailAgent_send_Results_TypeID = 0x81f33f1803485545

EmailAgent_send_Results_TypeID is the unique identifier for the type EmailAgent_send_Results.

View Source
const EmailAttachment_TypeID = 0xb309c51a9d28244f

EmailAttachment_TypeID is the unique identifier for the type EmailAttachment.

View Source
const EmailMessage_TypeID = 0xcff459e769562d2f

EmailMessage_TypeID is the unique identifier for the type EmailMessage.

View Source
const EmailSendPort_PowerboxTag_TypeID = 0x90790c61fc899dd3

EmailSendPort_PowerboxTag_TypeID is the unique identifier for the type EmailSendPort_PowerboxTag.

View Source
const EmailSendPort_TypeID = 0xec831dbf4cc9bcca

EmailSendPort_TypeID is the unique identifier for the type EmailSendPort.

View Source
const EmailSendPort_hintAddress_Params_TypeID = 0x9c78c3c5de56e4d4

EmailSendPort_hintAddress_Params_TypeID is the unique identifier for the type EmailSendPort_hintAddress_Params.

View Source
const EmailSendPort_hintAddress_Results_TypeID = 0xbd727a009329aabc

EmailSendPort_hintAddress_Results_TypeID is the unique identifier for the type EmailSendPort_hintAddress_Results.

View Source
const EmailSendPort_send_Params_TypeID = 0xa5adb72b4ccc59ee

EmailSendPort_send_Params_TypeID is the unique identifier for the type EmailSendPort_send_Params.

View Source
const EmailSendPort_send_Results_TypeID = 0xd063b4e6c91bf8d8

EmailSendPort_send_Results_TypeID is the unique identifier for the type EmailSendPort_send_Results.

View Source
const EmailVerifier_TypeID = 0xd458f7ca9d1ba9ff

EmailVerifier_TypeID is the unique identifier for the type EmailVerifier.

View Source
const EmailVerifier_getId_Params_TypeID = 0xe5927352f65eba5c

EmailVerifier_getId_Params_TypeID is the unique identifier for the type EmailVerifier_getId_Params.

View Source
const EmailVerifier_getId_Results_TypeID = 0xc7e287c5d3518c34

EmailVerifier_getId_Results_TypeID is the unique identifier for the type EmailVerifier_getId_Results.

View Source
const EmailVerifier_verifyEmail_Params_TypeID = 0x93ee926bb1bd4eea

EmailVerifier_verifyEmail_Params_TypeID is the unique identifier for the type EmailVerifier_verifyEmail_Params.

View Source
const EmailVerifier_verifyEmail_Results_TypeID = 0xcc99614322e49040

EmailVerifier_verifyEmail_Results_TypeID is the unique identifier for the type EmailVerifier_verifyEmail_Results.

View Source
const VerifiedEmailSendPort_PowerboxTag_TypeID = 0x8f555bd4141fbb3b

VerifiedEmailSendPort_PowerboxTag_TypeID is the unique identifier for the type VerifiedEmailSendPort_PowerboxTag.

View Source
const VerifiedEmailSendPort_TypeID = 0xa3cc885445aed8e9

VerifiedEmailSendPort_TypeID is the unique identifier for the type VerifiedEmailSendPort.

View Source
const VerifiedEmail_PowerboxTag_TypeID = 0x97469291ac5bb892

VerifiedEmail_PowerboxTag_TypeID is the unique identifier for the type VerifiedEmail_PowerboxTag.

View Source
const VerifiedEmail_TypeID = 0xf88bf102464dfa5a

VerifiedEmail_TypeID is the unique identifier for the type VerifiedEmail.

Variables

This section is empty.

Functions

func EmailAgent_Methods

func EmailAgent_Methods(methods []server.Method, s EmailAgent_Server) []server.Method

EmailAgent_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func EmailAgent_NewServer

func EmailAgent_NewServer(s EmailAgent_Server) *server.Server

EmailAgent_NewServer creates a new Server from an implementation of EmailAgent_Server.

func EmailSendPort_Methods

func EmailSendPort_Methods(methods []server.Method, s EmailSendPort_Server) []server.Method

EmailSendPort_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func EmailSendPort_NewServer

func EmailSendPort_NewServer(s EmailSendPort_Server) *server.Server

EmailSendPort_NewServer creates a new Server from an implementation of EmailSendPort_Server.

func EmailVerifier_Methods

func EmailVerifier_Methods(methods []server.Method, s EmailVerifier_Server) []server.Method

EmailVerifier_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func EmailVerifier_NewServer

func EmailVerifier_NewServer(s EmailVerifier_Server) *server.Server

EmailVerifier_NewServer creates a new Server from an implementation of EmailVerifier_Server.

func VerifiedEmailSendPort_Methods

func VerifiedEmailSendPort_Methods(methods []server.Method, s VerifiedEmailSendPort_Server) []server.Method

VerifiedEmailSendPort_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func VerifiedEmailSendPort_NewServer

func VerifiedEmailSendPort_NewServer(s VerifiedEmailSendPort_Server) *server.Server

VerifiedEmailSendPort_NewServer creates a new Server from an implementation of VerifiedEmailSendPort_Server.

func VerifiedEmail_Methods

func VerifiedEmail_Methods(methods []server.Method, s VerifiedEmail_Server) []server.Method

VerifiedEmail_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.

func VerifiedEmail_NewServer

func VerifiedEmail_NewServer(s VerifiedEmail_Server) *server.Server

VerifiedEmail_NewServer creates a new Server from an implementation of VerifiedEmail_Server.

Types

type EmailAddress

type EmailAddress capnp.Struct

func NewEmailAddress

func NewEmailAddress(s *capnp.Segment) (EmailAddress, error)

func NewRootEmailAddress

func NewRootEmailAddress(s *capnp.Segment) (EmailAddress, error)

func ReadRootEmailAddress

func ReadRootEmailAddress(msg *capnp.Message) (EmailAddress, error)

func (EmailAddress) Address

func (s EmailAddress) Address() (string, error)

func (EmailAddress) AddressBytes

func (s EmailAddress) AddressBytes() ([]byte, error)

func (EmailAddress) DecodeFromPtr

func (EmailAddress) DecodeFromPtr(p capnp.Ptr) EmailAddress

func (EmailAddress) EncodeAsPtr

func (s EmailAddress) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailAddress) HasAddress

func (s EmailAddress) HasAddress() bool

func (EmailAddress) HasName

func (s EmailAddress) HasName() bool

func (EmailAddress) IsValid

func (s EmailAddress) IsValid() bool

func (EmailAddress) Message

func (s EmailAddress) Message() *capnp.Message

func (EmailAddress) Name

func (s EmailAddress) Name() (string, error)

func (EmailAddress) NameBytes

func (s EmailAddress) NameBytes() ([]byte, error)

func (EmailAddress) Segment

func (s EmailAddress) Segment() *capnp.Segment

func (EmailAddress) SetAddress

func (s EmailAddress) SetAddress(v string) error

func (EmailAddress) SetName

func (s EmailAddress) SetName(v string) error

func (EmailAddress) String

func (s EmailAddress) String() string

func (EmailAddress) ToPtr

func (s EmailAddress) ToPtr() capnp.Ptr

type EmailAddress_Future

type EmailAddress_Future struct{ *capnp.Future }

EmailAddress_Future is a wrapper for a EmailAddress promised by a client call.

func (EmailAddress_Future) Struct

func (f EmailAddress_Future) Struct() (EmailAddress, error)

type EmailAddress_List

type EmailAddress_List = capnp.StructList[EmailAddress]

EmailAddress_List is a list of EmailAddress.

func NewEmailAddress_List

func NewEmailAddress_List(s *capnp.Segment, sz int32) (EmailAddress_List, error)

NewEmailAddress creates a new list of EmailAddress.

type EmailAgent

type EmailAgent capnp.Client

func EmailAgent_ServerToClient

func EmailAgent_ServerToClient(s EmailAgent_Server) EmailAgent

EmailAgent_ServerToClient creates a new Client from an implementation of EmailAgent_Server. The caller is responsible for calling Release on the returned Client.

func (EmailAgent) AddReceiver

func (EmailAgent) AddRef

func (c EmailAgent) AddRef() EmailAgent

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (EmailAgent) DecodeFromPtr

func (EmailAgent) DecodeFromPtr(p capnp.Ptr) EmailAgent

func (EmailAgent) EncodeAsPtr

func (c EmailAgent) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailAgent) GetFlowLimiter

func (c EmailAgent) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (EmailAgent) IsSame

func (c EmailAgent) IsSame(other EmailAgent) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (EmailAgent) IsValid

func (c EmailAgent) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (EmailAgent) Release

func (c EmailAgent) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (EmailAgent) Resolve

func (c EmailAgent) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (EmailAgent) Send

func (EmailAgent) SetFlowLimiter

func (c EmailAgent) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (EmailAgent) String

func (c EmailAgent) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type EmailAgent_List

type EmailAgent_List = capnp.CapList[EmailAgent]

EmailAgent_List is a list of EmailAgent.

func NewEmailAgent_List

func NewEmailAgent_List(s *capnp.Segment, sz int32) (EmailAgent_List, error)

NewEmailAgent creates a new list of EmailAgent.

type EmailAgent_Server

type EmailAgent_Server interface {
	Send(context.Context, EmailAgent_send) error

	AddReceiver(context.Context, EmailAgent_addReceiver) error
}

type EmailAgent_addReceiver

type EmailAgent_addReceiver struct {
	*server.Call
}

EmailAgent_addReceiver holds the state for a server call to EmailAgent.addReceiver. See server.Call for documentation.

func (EmailAgent_addReceiver) AllocResults

AllocResults allocates the results struct.

func (EmailAgent_addReceiver) Args

Args returns the call's arguments.

type EmailAgent_addReceiver_Params

type EmailAgent_addReceiver_Params capnp.Struct

func NewEmailAgent_addReceiver_Params

func NewEmailAgent_addReceiver_Params(s *capnp.Segment) (EmailAgent_addReceiver_Params, error)

func NewRootEmailAgent_addReceiver_Params

func NewRootEmailAgent_addReceiver_Params(s *capnp.Segment) (EmailAgent_addReceiver_Params, error)

func ReadRootEmailAgent_addReceiver_Params

func ReadRootEmailAgent_addReceiver_Params(msg *capnp.Message) (EmailAgent_addReceiver_Params, error)

func (EmailAgent_addReceiver_Params) DecodeFromPtr

func (EmailAgent_addReceiver_Params) EncodeAsPtr

func (s EmailAgent_addReceiver_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailAgent_addReceiver_Params) HasPort

func (s EmailAgent_addReceiver_Params) HasPort() bool

func (EmailAgent_addReceiver_Params) IsValid

func (s EmailAgent_addReceiver_Params) IsValid() bool

func (EmailAgent_addReceiver_Params) Message

func (EmailAgent_addReceiver_Params) Port

func (EmailAgent_addReceiver_Params) Segment

func (EmailAgent_addReceiver_Params) SetPort

func (EmailAgent_addReceiver_Params) String

func (EmailAgent_addReceiver_Params) ToPtr

type EmailAgent_addReceiver_Params_Future

type EmailAgent_addReceiver_Params_Future struct{ *capnp.Future }

EmailAgent_addReceiver_Params_Future is a wrapper for a EmailAgent_addReceiver_Params promised by a client call.

func (EmailAgent_addReceiver_Params_Future) Port

func (EmailAgent_addReceiver_Params_Future) Struct

type EmailAgent_addReceiver_Params_List

type EmailAgent_addReceiver_Params_List = capnp.StructList[EmailAgent_addReceiver_Params]

EmailAgent_addReceiver_Params_List is a list of EmailAgent_addReceiver_Params.

func NewEmailAgent_addReceiver_Params_List

func NewEmailAgent_addReceiver_Params_List(s *capnp.Segment, sz int32) (EmailAgent_addReceiver_Params_List, error)

NewEmailAgent_addReceiver_Params creates a new list of EmailAgent_addReceiver_Params.

type EmailAgent_addReceiver_Results

type EmailAgent_addReceiver_Results capnp.Struct

func NewEmailAgent_addReceiver_Results

func NewEmailAgent_addReceiver_Results(s *capnp.Segment) (EmailAgent_addReceiver_Results, error)

func NewRootEmailAgent_addReceiver_Results

func NewRootEmailAgent_addReceiver_Results(s *capnp.Segment) (EmailAgent_addReceiver_Results, error)

func ReadRootEmailAgent_addReceiver_Results

func ReadRootEmailAgent_addReceiver_Results(msg *capnp.Message) (EmailAgent_addReceiver_Results, error)

func (EmailAgent_addReceiver_Results) DecodeFromPtr

func (EmailAgent_addReceiver_Results) EncodeAsPtr

func (EmailAgent_addReceiver_Results) Handle

func (EmailAgent_addReceiver_Results) HasHandle

func (s EmailAgent_addReceiver_Results) HasHandle() bool

func (EmailAgent_addReceiver_Results) IsValid

func (EmailAgent_addReceiver_Results) Message

func (EmailAgent_addReceiver_Results) Segment

func (EmailAgent_addReceiver_Results) SetHandle

func (EmailAgent_addReceiver_Results) String

func (EmailAgent_addReceiver_Results) ToPtr

type EmailAgent_addReceiver_Results_Future

type EmailAgent_addReceiver_Results_Future struct{ *capnp.Future }

EmailAgent_addReceiver_Results_Future is a wrapper for a EmailAgent_addReceiver_Results promised by a client call.

func (EmailAgent_addReceiver_Results_Future) Handle

func (EmailAgent_addReceiver_Results_Future) Struct

type EmailAgent_addReceiver_Results_List

type EmailAgent_addReceiver_Results_List = capnp.StructList[EmailAgent_addReceiver_Results]

EmailAgent_addReceiver_Results_List is a list of EmailAgent_addReceiver_Results.

func NewEmailAgent_addReceiver_Results_List

func NewEmailAgent_addReceiver_Results_List(s *capnp.Segment, sz int32) (EmailAgent_addReceiver_Results_List, error)

NewEmailAgent_addReceiver_Results creates a new list of EmailAgent_addReceiver_Results.

type EmailAgent_send

type EmailAgent_send struct {
	*server.Call
}

EmailAgent_send holds the state for a server call to EmailAgent.send. See server.Call for documentation.

func (EmailAgent_send) AllocResults

func (c EmailAgent_send) AllocResults() (EmailAgent_send_Results, error)

AllocResults allocates the results struct.

func (EmailAgent_send) Args

Args returns the call's arguments.

type EmailAgent_send_Params

type EmailAgent_send_Params capnp.Struct

func NewEmailAgent_send_Params

func NewEmailAgent_send_Params(s *capnp.Segment) (EmailAgent_send_Params, error)

func NewRootEmailAgent_send_Params

func NewRootEmailAgent_send_Params(s *capnp.Segment) (EmailAgent_send_Params, error)

func ReadRootEmailAgent_send_Params

func ReadRootEmailAgent_send_Params(msg *capnp.Message) (EmailAgent_send_Params, error)

func (EmailAgent_send_Params) DecodeFromPtr

func (EmailAgent_send_Params) Email

func (EmailAgent_send_Params) EncodeAsPtr

func (s EmailAgent_send_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailAgent_send_Params) HasEmail

func (s EmailAgent_send_Params) HasEmail() bool

func (EmailAgent_send_Params) IsValid

func (s EmailAgent_send_Params) IsValid() bool

func (EmailAgent_send_Params) Message

func (s EmailAgent_send_Params) Message() *capnp.Message

func (EmailAgent_send_Params) NewEmail

func (s EmailAgent_send_Params) NewEmail() (EmailMessage, error)

NewEmail sets the email field to a newly allocated EmailMessage struct, preferring placement in s's segment.

func (EmailAgent_send_Params) Segment

func (s EmailAgent_send_Params) Segment() *capnp.Segment

func (EmailAgent_send_Params) SetEmail

func (EmailAgent_send_Params) String

func (s EmailAgent_send_Params) String() string

func (EmailAgent_send_Params) ToPtr

func (s EmailAgent_send_Params) ToPtr() capnp.Ptr

type EmailAgent_send_Params_Future

type EmailAgent_send_Params_Future struct{ *capnp.Future }

EmailAgent_send_Params_Future is a wrapper for a EmailAgent_send_Params promised by a client call.

func (EmailAgent_send_Params_Future) Email

func (EmailAgent_send_Params_Future) Struct

type EmailAgent_send_Params_List

type EmailAgent_send_Params_List = capnp.StructList[EmailAgent_send_Params]

EmailAgent_send_Params_List is a list of EmailAgent_send_Params.

func NewEmailAgent_send_Params_List

func NewEmailAgent_send_Params_List(s *capnp.Segment, sz int32) (EmailAgent_send_Params_List, error)

NewEmailAgent_send_Params creates a new list of EmailAgent_send_Params.

type EmailAgent_send_Results

type EmailAgent_send_Results capnp.Struct

func NewEmailAgent_send_Results

func NewEmailAgent_send_Results(s *capnp.Segment) (EmailAgent_send_Results, error)

func NewRootEmailAgent_send_Results

func NewRootEmailAgent_send_Results(s *capnp.Segment) (EmailAgent_send_Results, error)

func ReadRootEmailAgent_send_Results

func ReadRootEmailAgent_send_Results(msg *capnp.Message) (EmailAgent_send_Results, error)

func (EmailAgent_send_Results) DecodeFromPtr

func (EmailAgent_send_Results) EncodeAsPtr

func (s EmailAgent_send_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailAgent_send_Results) IsValid

func (s EmailAgent_send_Results) IsValid() bool

func (EmailAgent_send_Results) Message

func (s EmailAgent_send_Results) Message() *capnp.Message

func (EmailAgent_send_Results) Segment

func (s EmailAgent_send_Results) Segment() *capnp.Segment

func (EmailAgent_send_Results) String

func (s EmailAgent_send_Results) String() string

func (EmailAgent_send_Results) ToPtr

func (s EmailAgent_send_Results) ToPtr() capnp.Ptr

type EmailAgent_send_Results_Future

type EmailAgent_send_Results_Future struct{ *capnp.Future }

EmailAgent_send_Results_Future is a wrapper for a EmailAgent_send_Results promised by a client call.

func (EmailAgent_send_Results_Future) Struct

type EmailAgent_send_Results_List

type EmailAgent_send_Results_List = capnp.StructList[EmailAgent_send_Results]

EmailAgent_send_Results_List is a list of EmailAgent_send_Results.

func NewEmailAgent_send_Results_List

func NewEmailAgent_send_Results_List(s *capnp.Segment, sz int32) (EmailAgent_send_Results_List, error)

NewEmailAgent_send_Results creates a new list of EmailAgent_send_Results.

type EmailAttachment

type EmailAttachment capnp.Struct

func NewEmailAttachment

func NewEmailAttachment(s *capnp.Segment) (EmailAttachment, error)

func NewRootEmailAttachment

func NewRootEmailAttachment(s *capnp.Segment) (EmailAttachment, error)

func ReadRootEmailAttachment

func ReadRootEmailAttachment(msg *capnp.Message) (EmailAttachment, error)

func (EmailAttachment) Content

func (s EmailAttachment) Content() ([]byte, error)

func (EmailAttachment) ContentDisposition

func (s EmailAttachment) ContentDisposition() (string, error)

func (EmailAttachment) ContentDispositionBytes

func (s EmailAttachment) ContentDispositionBytes() ([]byte, error)

func (EmailAttachment) ContentId

func (s EmailAttachment) ContentId() (string, error)

func (EmailAttachment) ContentIdBytes

func (s EmailAttachment) ContentIdBytes() ([]byte, error)

func (EmailAttachment) ContentType

func (s EmailAttachment) ContentType() (string, error)

func (EmailAttachment) ContentTypeBytes

func (s EmailAttachment) ContentTypeBytes() ([]byte, error)

func (EmailAttachment) DecodeFromPtr

func (EmailAttachment) DecodeFromPtr(p capnp.Ptr) EmailAttachment

func (EmailAttachment) EncodeAsPtr

func (s EmailAttachment) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailAttachment) HasContent

func (s EmailAttachment) HasContent() bool

func (EmailAttachment) HasContentDisposition

func (s EmailAttachment) HasContentDisposition() bool

func (EmailAttachment) HasContentId

func (s EmailAttachment) HasContentId() bool

func (EmailAttachment) HasContentType

func (s EmailAttachment) HasContentType() bool

func (EmailAttachment) IsValid

func (s EmailAttachment) IsValid() bool

func (EmailAttachment) Message

func (s EmailAttachment) Message() *capnp.Message

func (EmailAttachment) Segment

func (s EmailAttachment) Segment() *capnp.Segment

func (EmailAttachment) SetContent

func (s EmailAttachment) SetContent(v []byte) error

func (EmailAttachment) SetContentDisposition

func (s EmailAttachment) SetContentDisposition(v string) error

func (EmailAttachment) SetContentId

func (s EmailAttachment) SetContentId(v string) error

func (EmailAttachment) SetContentType

func (s EmailAttachment) SetContentType(v string) error

func (EmailAttachment) String

func (s EmailAttachment) String() string

func (EmailAttachment) ToPtr

func (s EmailAttachment) ToPtr() capnp.Ptr

type EmailAttachment_Future

type EmailAttachment_Future struct{ *capnp.Future }

EmailAttachment_Future is a wrapper for a EmailAttachment promised by a client call.

func (EmailAttachment_Future) Struct

type EmailAttachment_List

type EmailAttachment_List = capnp.StructList[EmailAttachment]

EmailAttachment_List is a list of EmailAttachment.

func NewEmailAttachment_List

func NewEmailAttachment_List(s *capnp.Segment, sz int32) (EmailAttachment_List, error)

NewEmailAttachment creates a new list of EmailAttachment.

type EmailMessage

type EmailMessage capnp.Struct

func NewEmailMessage

func NewEmailMessage(s *capnp.Segment) (EmailMessage, error)

func NewRootEmailMessage

func NewRootEmailMessage(s *capnp.Segment) (EmailMessage, error)

func ReadRootEmailMessage

func ReadRootEmailMessage(msg *capnp.Message) (EmailMessage, error)

func (EmailMessage) Attachments

func (s EmailMessage) Attachments() (EmailAttachment_List, error)

func (EmailMessage) Bcc

func (EmailMessage) Cc

func (EmailMessage) Date

func (s EmailMessage) Date() int64

func (EmailMessage) DecodeFromPtr

func (EmailMessage) DecodeFromPtr(p capnp.Ptr) EmailMessage

func (EmailMessage) EncodeAsPtr

func (s EmailMessage) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailMessage) From

func (s EmailMessage) From() (EmailAddress, error)

func (EmailMessage) HasAttachments

func (s EmailMessage) HasAttachments() bool

func (EmailMessage) HasBcc

func (s EmailMessage) HasBcc() bool

func (EmailMessage) HasCc

func (s EmailMessage) HasCc() bool

func (EmailMessage) HasFrom

func (s EmailMessage) HasFrom() bool

func (EmailMessage) HasHtml

func (s EmailMessage) HasHtml() bool

func (EmailMessage) HasInReplyTo

func (s EmailMessage) HasInReplyTo() bool

func (EmailMessage) HasMessageId

func (s EmailMessage) HasMessageId() bool

func (EmailMessage) HasReferences

func (s EmailMessage) HasReferences() bool

func (EmailMessage) HasReplyTo

func (s EmailMessage) HasReplyTo() bool

func (EmailMessage) HasSubject

func (s EmailMessage) HasSubject() bool

func (EmailMessage) HasText

func (s EmailMessage) HasText() bool

func (EmailMessage) HasTo

func (s EmailMessage) HasTo() bool

func (EmailMessage) Html

func (s EmailMessage) Html() (string, error)

func (EmailMessage) HtmlBytes

func (s EmailMessage) HtmlBytes() ([]byte, error)

func (EmailMessage) InReplyTo

func (s EmailMessage) InReplyTo() (capnp.TextList, error)

func (EmailMessage) IsValid

func (s EmailMessage) IsValid() bool

func (EmailMessage) Message

func (s EmailMessage) Message() *capnp.Message

func (EmailMessage) MessageId

func (s EmailMessage) MessageId() (string, error)

func (EmailMessage) MessageIdBytes

func (s EmailMessage) MessageIdBytes() ([]byte, error)

func (EmailMessage) NewAttachments

func (s EmailMessage) NewAttachments(n int32) (EmailAttachment_List, error)

NewAttachments sets the attachments field to a newly allocated EmailAttachment_List, preferring placement in s's segment.

func (EmailMessage) NewBcc

func (s EmailMessage) NewBcc(n int32) (EmailAddress_List, error)

NewBcc sets the bcc field to a newly allocated EmailAddress_List, preferring placement in s's segment.

func (EmailMessage) NewCc

func (s EmailMessage) NewCc(n int32) (EmailAddress_List, error)

NewCc sets the cc field to a newly allocated EmailAddress_List, preferring placement in s's segment.

func (EmailMessage) NewFrom

func (s EmailMessage) NewFrom() (EmailAddress, error)

NewFrom sets the from field to a newly allocated EmailAddress struct, preferring placement in s's segment.

func (EmailMessage) NewInReplyTo

func (s EmailMessage) NewInReplyTo(n int32) (capnp.TextList, error)

NewInReplyTo sets the inReplyTo field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (EmailMessage) NewReferences

func (s EmailMessage) NewReferences(n int32) (capnp.TextList, error)

NewReferences sets the references field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (EmailMessage) NewReplyTo

func (s EmailMessage) NewReplyTo() (EmailAddress, error)

NewReplyTo sets the replyTo field to a newly allocated EmailAddress struct, preferring placement in s's segment.

func (EmailMessage) NewTo

func (s EmailMessage) NewTo(n int32) (EmailAddress_List, error)

NewTo sets the to field to a newly allocated EmailAddress_List, preferring placement in s's segment.

func (EmailMessage) References

func (s EmailMessage) References() (capnp.TextList, error)

func (EmailMessage) ReplyTo

func (s EmailMessage) ReplyTo() (EmailAddress, error)

func (EmailMessage) Segment

func (s EmailMessage) Segment() *capnp.Segment

func (EmailMessage) SetAttachments

func (s EmailMessage) SetAttachments(v EmailAttachment_List) error

func (EmailMessage) SetBcc

func (s EmailMessage) SetBcc(v EmailAddress_List) error

func (EmailMessage) SetCc

func (EmailMessage) SetDate

func (s EmailMessage) SetDate(v int64)

func (EmailMessage) SetFrom

func (s EmailMessage) SetFrom(v EmailAddress) error

func (EmailMessage) SetHtml

func (s EmailMessage) SetHtml(v string) error

func (EmailMessage) SetInReplyTo

func (s EmailMessage) SetInReplyTo(v capnp.TextList) error

func (EmailMessage) SetMessageId

func (s EmailMessage) SetMessageId(v string) error

func (EmailMessage) SetReferences

func (s EmailMessage) SetReferences(v capnp.TextList) error

func (EmailMessage) SetReplyTo

func (s EmailMessage) SetReplyTo(v EmailAddress) error

func (EmailMessage) SetSubject

func (s EmailMessage) SetSubject(v string) error

func (EmailMessage) SetText

func (s EmailMessage) SetText(v string) error

func (EmailMessage) SetTo

func (EmailMessage) String

func (s EmailMessage) String() string

func (EmailMessage) Subject

func (s EmailMessage) Subject() (string, error)

func (EmailMessage) SubjectBytes

func (s EmailMessage) SubjectBytes() ([]byte, error)

func (EmailMessage) Text

func (s EmailMessage) Text() (string, error)

func (EmailMessage) TextBytes

func (s EmailMessage) TextBytes() ([]byte, error)

func (EmailMessage) To

func (EmailMessage) ToPtr

func (s EmailMessage) ToPtr() capnp.Ptr

type EmailMessage_Future

type EmailMessage_Future struct{ *capnp.Future }

EmailMessage_Future is a wrapper for a EmailMessage promised by a client call.

func (EmailMessage_Future) From

func (EmailMessage_Future) ReplyTo

func (EmailMessage_Future) Struct

func (f EmailMessage_Future) Struct() (EmailMessage, error)

type EmailMessage_List

type EmailMessage_List = capnp.StructList[EmailMessage]

EmailMessage_List is a list of EmailMessage.

func NewEmailMessage_List

func NewEmailMessage_List(s *capnp.Segment, sz int32) (EmailMessage_List, error)

NewEmailMessage creates a new list of EmailMessage.

type EmailSendPort

type EmailSendPort capnp.Client

func EmailSendPort_ServerToClient

func EmailSendPort_ServerToClient(s EmailSendPort_Server) EmailSendPort

EmailSendPort_ServerToClient creates a new Client from an implementation of EmailSendPort_Server. The caller is responsible for calling Release on the returned Client.

func (EmailSendPort) AddRef

func (c EmailSendPort) AddRef() EmailSendPort

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (EmailSendPort) DecodeFromPtr

func (EmailSendPort) DecodeFromPtr(p capnp.Ptr) EmailSendPort

func (EmailSendPort) EncodeAsPtr

func (c EmailSendPort) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailSendPort) GetFlowLimiter

func (c EmailSendPort) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (EmailSendPort) HintAddress

func (EmailSendPort) IsSame

func (c EmailSendPort) IsSame(other EmailSendPort) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (EmailSendPort) IsValid

func (c EmailSendPort) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (EmailSendPort) Release

func (c EmailSendPort) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (EmailSendPort) Resolve

func (c EmailSendPort) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (EmailSendPort) Send

func (EmailSendPort) SetFlowLimiter

func (c EmailSendPort) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (EmailSendPort) String

func (c EmailSendPort) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type EmailSendPort_List

type EmailSendPort_List = capnp.CapList[EmailSendPort]

EmailSendPort_List is a list of EmailSendPort.

func NewEmailSendPort_List

func NewEmailSendPort_List(s *capnp.Segment, sz int32) (EmailSendPort_List, error)

NewEmailSendPort creates a new list of EmailSendPort.

type EmailSendPort_PowerboxTag

type EmailSendPort_PowerboxTag capnp.Struct

func NewEmailSendPort_PowerboxTag

func NewEmailSendPort_PowerboxTag(s *capnp.Segment) (EmailSendPort_PowerboxTag, error)

func NewRootEmailSendPort_PowerboxTag

func NewRootEmailSendPort_PowerboxTag(s *capnp.Segment) (EmailSendPort_PowerboxTag, error)

func ReadRootEmailSendPort_PowerboxTag

func ReadRootEmailSendPort_PowerboxTag(msg *capnp.Message) (EmailSendPort_PowerboxTag, error)

func (EmailSendPort_PowerboxTag) DecodeFromPtr

func (EmailSendPort_PowerboxTag) EncodeAsPtr

func (s EmailSendPort_PowerboxTag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailSendPort_PowerboxTag) FromHint

func (EmailSendPort_PowerboxTag) HasFromHint

func (s EmailSendPort_PowerboxTag) HasFromHint() bool

func (EmailSendPort_PowerboxTag) HasListIdHint

func (s EmailSendPort_PowerboxTag) HasListIdHint() bool

func (EmailSendPort_PowerboxTag) IsValid

func (s EmailSendPort_PowerboxTag) IsValid() bool

func (EmailSendPort_PowerboxTag) ListIdHint

func (s EmailSendPort_PowerboxTag) ListIdHint() (string, error)

func (EmailSendPort_PowerboxTag) ListIdHintBytes

func (s EmailSendPort_PowerboxTag) ListIdHintBytes() ([]byte, error)

func (EmailSendPort_PowerboxTag) Message

func (EmailSendPort_PowerboxTag) NewFromHint

func (s EmailSendPort_PowerboxTag) NewFromHint() (EmailAddress, error)

NewFromHint sets the fromHint field to a newly allocated EmailAddress struct, preferring placement in s's segment.

func (EmailSendPort_PowerboxTag) Segment

func (EmailSendPort_PowerboxTag) SetFromHint

func (s EmailSendPort_PowerboxTag) SetFromHint(v EmailAddress) error

func (EmailSendPort_PowerboxTag) SetListIdHint

func (s EmailSendPort_PowerboxTag) SetListIdHint(v string) error

func (EmailSendPort_PowerboxTag) String

func (s EmailSendPort_PowerboxTag) String() string

func (EmailSendPort_PowerboxTag) ToPtr

type EmailSendPort_PowerboxTag_Future

type EmailSendPort_PowerboxTag_Future struct{ *capnp.Future }

EmailSendPort_PowerboxTag_Future is a wrapper for a EmailSendPort_PowerboxTag promised by a client call.

func (EmailSendPort_PowerboxTag_Future) FromHint

func (EmailSendPort_PowerboxTag_Future) Struct

type EmailSendPort_PowerboxTag_List

type EmailSendPort_PowerboxTag_List = capnp.StructList[EmailSendPort_PowerboxTag]

EmailSendPort_PowerboxTag_List is a list of EmailSendPort_PowerboxTag.

func NewEmailSendPort_PowerboxTag_List

func NewEmailSendPort_PowerboxTag_List(s *capnp.Segment, sz int32) (EmailSendPort_PowerboxTag_List, error)

NewEmailSendPort_PowerboxTag creates a new list of EmailSendPort_PowerboxTag.

type EmailSendPort_Server

type EmailSendPort_Server interface {
	Send(context.Context, EmailSendPort_send) error

	HintAddress(context.Context, EmailSendPort_hintAddress) error
}

type EmailSendPort_hintAddress

type EmailSendPort_hintAddress struct {
	*server.Call
}

EmailSendPort_hintAddress holds the state for a server call to EmailSendPort.hintAddress. See server.Call for documentation.

func (EmailSendPort_hintAddress) AllocResults

AllocResults allocates the results struct.

func (EmailSendPort_hintAddress) Args

Args returns the call's arguments.

type EmailSendPort_hintAddress_Params

type EmailSendPort_hintAddress_Params capnp.Struct

func NewEmailSendPort_hintAddress_Params

func NewEmailSendPort_hintAddress_Params(s *capnp.Segment) (EmailSendPort_hintAddress_Params, error)

func NewRootEmailSendPort_hintAddress_Params

func NewRootEmailSendPort_hintAddress_Params(s *capnp.Segment) (EmailSendPort_hintAddress_Params, error)

func ReadRootEmailSendPort_hintAddress_Params

func ReadRootEmailSendPort_hintAddress_Params(msg *capnp.Message) (EmailSendPort_hintAddress_Params, error)

func (EmailSendPort_hintAddress_Params) Address

func (EmailSendPort_hintAddress_Params) DecodeFromPtr

func (EmailSendPort_hintAddress_Params) EncodeAsPtr

func (EmailSendPort_hintAddress_Params) HasAddress

func (s EmailSendPort_hintAddress_Params) HasAddress() bool

func (EmailSendPort_hintAddress_Params) IsValid

func (EmailSendPort_hintAddress_Params) Message

func (EmailSendPort_hintAddress_Params) NewAddress

NewAddress sets the address field to a newly allocated EmailAddress struct, preferring placement in s's segment.

func (EmailSendPort_hintAddress_Params) Segment

func (EmailSendPort_hintAddress_Params) SetAddress

func (EmailSendPort_hintAddress_Params) String

func (EmailSendPort_hintAddress_Params) ToPtr

type EmailSendPort_hintAddress_Params_Future

type EmailSendPort_hintAddress_Params_Future struct{ *capnp.Future }

EmailSendPort_hintAddress_Params_Future is a wrapper for a EmailSendPort_hintAddress_Params promised by a client call.

func (EmailSendPort_hintAddress_Params_Future) Address

func (EmailSendPort_hintAddress_Params_Future) Struct

type EmailSendPort_hintAddress_Params_List

type EmailSendPort_hintAddress_Params_List = capnp.StructList[EmailSendPort_hintAddress_Params]

EmailSendPort_hintAddress_Params_List is a list of EmailSendPort_hintAddress_Params.

func NewEmailSendPort_hintAddress_Params_List

func NewEmailSendPort_hintAddress_Params_List(s *capnp.Segment, sz int32) (EmailSendPort_hintAddress_Params_List, error)

NewEmailSendPort_hintAddress_Params creates a new list of EmailSendPort_hintAddress_Params.

type EmailSendPort_hintAddress_Results

type EmailSendPort_hintAddress_Results capnp.Struct

func NewEmailSendPort_hintAddress_Results

func NewEmailSendPort_hintAddress_Results(s *capnp.Segment) (EmailSendPort_hintAddress_Results, error)

func NewRootEmailSendPort_hintAddress_Results

func NewRootEmailSendPort_hintAddress_Results(s *capnp.Segment) (EmailSendPort_hintAddress_Results, error)

func ReadRootEmailSendPort_hintAddress_Results

func ReadRootEmailSendPort_hintAddress_Results(msg *capnp.Message) (EmailSendPort_hintAddress_Results, error)

func (EmailSendPort_hintAddress_Results) DecodeFromPtr

func (EmailSendPort_hintAddress_Results) EncodeAsPtr

func (EmailSendPort_hintAddress_Results) IsValid

func (EmailSendPort_hintAddress_Results) Message

func (EmailSendPort_hintAddress_Results) Segment

func (EmailSendPort_hintAddress_Results) String

func (EmailSendPort_hintAddress_Results) ToPtr

type EmailSendPort_hintAddress_Results_Future

type EmailSendPort_hintAddress_Results_Future struct{ *capnp.Future }

EmailSendPort_hintAddress_Results_Future is a wrapper for a EmailSendPort_hintAddress_Results promised by a client call.

func (EmailSendPort_hintAddress_Results_Future) Struct

type EmailSendPort_hintAddress_Results_List

type EmailSendPort_hintAddress_Results_List = capnp.StructList[EmailSendPort_hintAddress_Results]

EmailSendPort_hintAddress_Results_List is a list of EmailSendPort_hintAddress_Results.

func NewEmailSendPort_hintAddress_Results_List

func NewEmailSendPort_hintAddress_Results_List(s *capnp.Segment, sz int32) (EmailSendPort_hintAddress_Results_List, error)

NewEmailSendPort_hintAddress_Results creates a new list of EmailSendPort_hintAddress_Results.

type EmailSendPort_send

type EmailSendPort_send struct {
	*server.Call
}

EmailSendPort_send holds the state for a server call to EmailSendPort.send. See server.Call for documentation.

func (EmailSendPort_send) AllocResults

AllocResults allocates the results struct.

func (EmailSendPort_send) Args

Args returns the call's arguments.

type EmailSendPort_send_Params

type EmailSendPort_send_Params capnp.Struct

func NewEmailSendPort_send_Params

func NewEmailSendPort_send_Params(s *capnp.Segment) (EmailSendPort_send_Params, error)

func NewRootEmailSendPort_send_Params

func NewRootEmailSendPort_send_Params(s *capnp.Segment) (EmailSendPort_send_Params, error)

func ReadRootEmailSendPort_send_Params

func ReadRootEmailSendPort_send_Params(msg *capnp.Message) (EmailSendPort_send_Params, error)

func (EmailSendPort_send_Params) DecodeFromPtr

func (EmailSendPort_send_Params) Email

func (EmailSendPort_send_Params) EncodeAsPtr

func (s EmailSendPort_send_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailSendPort_send_Params) HasEmail

func (s EmailSendPort_send_Params) HasEmail() bool

func (EmailSendPort_send_Params) IsValid

func (s EmailSendPort_send_Params) IsValid() bool

func (EmailSendPort_send_Params) Message

func (EmailSendPort_send_Params) NewEmail

NewEmail sets the email field to a newly allocated EmailMessage struct, preferring placement in s's segment.

func (EmailSendPort_send_Params) Segment

func (EmailSendPort_send_Params) SetEmail

func (EmailSendPort_send_Params) String

func (s EmailSendPort_send_Params) String() string

func (EmailSendPort_send_Params) ToPtr

type EmailSendPort_send_Params_Future

type EmailSendPort_send_Params_Future struct{ *capnp.Future }

EmailSendPort_send_Params_Future is a wrapper for a EmailSendPort_send_Params promised by a client call.

func (EmailSendPort_send_Params_Future) Email

func (EmailSendPort_send_Params_Future) Struct

type EmailSendPort_send_Params_List

type EmailSendPort_send_Params_List = capnp.StructList[EmailSendPort_send_Params]

EmailSendPort_send_Params_List is a list of EmailSendPort_send_Params.

func NewEmailSendPort_send_Params_List

func NewEmailSendPort_send_Params_List(s *capnp.Segment, sz int32) (EmailSendPort_send_Params_List, error)

NewEmailSendPort_send_Params creates a new list of EmailSendPort_send_Params.

type EmailSendPort_send_Results

type EmailSendPort_send_Results capnp.Struct

func NewEmailSendPort_send_Results

func NewEmailSendPort_send_Results(s *capnp.Segment) (EmailSendPort_send_Results, error)

func NewRootEmailSendPort_send_Results

func NewRootEmailSendPort_send_Results(s *capnp.Segment) (EmailSendPort_send_Results, error)

func ReadRootEmailSendPort_send_Results

func ReadRootEmailSendPort_send_Results(msg *capnp.Message) (EmailSendPort_send_Results, error)

func (EmailSendPort_send_Results) DecodeFromPtr

func (EmailSendPort_send_Results) EncodeAsPtr

func (s EmailSendPort_send_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailSendPort_send_Results) IsValid

func (s EmailSendPort_send_Results) IsValid() bool

func (EmailSendPort_send_Results) Message

func (EmailSendPort_send_Results) Segment

func (EmailSendPort_send_Results) String

func (EmailSendPort_send_Results) ToPtr

type EmailSendPort_send_Results_Future

type EmailSendPort_send_Results_Future struct{ *capnp.Future }

EmailSendPort_send_Results_Future is a wrapper for a EmailSendPort_send_Results promised by a client call.

func (EmailSendPort_send_Results_Future) Struct

type EmailSendPort_send_Results_List

type EmailSendPort_send_Results_List = capnp.StructList[EmailSendPort_send_Results]

EmailSendPort_send_Results_List is a list of EmailSendPort_send_Results.

func NewEmailSendPort_send_Results_List

func NewEmailSendPort_send_Results_List(s *capnp.Segment, sz int32) (EmailSendPort_send_Results_List, error)

NewEmailSendPort_send_Results creates a new list of EmailSendPort_send_Results.

type EmailVerifier

type EmailVerifier capnp.Client

func EmailVerifier_ServerToClient

func EmailVerifier_ServerToClient(s EmailVerifier_Server) EmailVerifier

EmailVerifier_ServerToClient creates a new Client from an implementation of EmailVerifier_Server. The caller is responsible for calling Release on the returned Client.

func (EmailVerifier) AddRef

func (c EmailVerifier) AddRef() EmailVerifier

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (EmailVerifier) DecodeFromPtr

func (EmailVerifier) DecodeFromPtr(p capnp.Ptr) EmailVerifier

func (EmailVerifier) EncodeAsPtr

func (c EmailVerifier) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailVerifier) GetFlowLimiter

func (c EmailVerifier) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (EmailVerifier) GetId

func (EmailVerifier) IsSame

func (c EmailVerifier) IsSame(other EmailVerifier) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (EmailVerifier) IsValid

func (c EmailVerifier) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (EmailVerifier) Release

func (c EmailVerifier) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (EmailVerifier) Resolve

func (c EmailVerifier) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (EmailVerifier) SetFlowLimiter

func (c EmailVerifier) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (EmailVerifier) String

func (c EmailVerifier) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

func (EmailVerifier) VerifyEmail

type EmailVerifier_List

type EmailVerifier_List = capnp.CapList[EmailVerifier]

EmailVerifier_List is a list of EmailVerifier.

func NewEmailVerifier_List

func NewEmailVerifier_List(s *capnp.Segment, sz int32) (EmailVerifier_List, error)

NewEmailVerifier creates a new list of EmailVerifier.

type EmailVerifier_Server

type EmailVerifier_Server interface {
	GetId(context.Context, EmailVerifier_getId) error

	VerifyEmail(context.Context, EmailVerifier_verifyEmail) error
}

type EmailVerifier_getId

type EmailVerifier_getId struct {
	*server.Call
}

EmailVerifier_getId holds the state for a server call to EmailVerifier.getId. See server.Call for documentation.

func (EmailVerifier_getId) AllocResults

AllocResults allocates the results struct.

func (EmailVerifier_getId) Args

Args returns the call's arguments.

type EmailVerifier_getId_Params

type EmailVerifier_getId_Params capnp.Struct

func NewEmailVerifier_getId_Params

func NewEmailVerifier_getId_Params(s *capnp.Segment) (EmailVerifier_getId_Params, error)

func NewRootEmailVerifier_getId_Params

func NewRootEmailVerifier_getId_Params(s *capnp.Segment) (EmailVerifier_getId_Params, error)

func ReadRootEmailVerifier_getId_Params

func ReadRootEmailVerifier_getId_Params(msg *capnp.Message) (EmailVerifier_getId_Params, error)

func (EmailVerifier_getId_Params) DecodeFromPtr

func (EmailVerifier_getId_Params) EncodeAsPtr

func (s EmailVerifier_getId_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailVerifier_getId_Params) IsValid

func (s EmailVerifier_getId_Params) IsValid() bool

func (EmailVerifier_getId_Params) Message

func (EmailVerifier_getId_Params) Segment

func (EmailVerifier_getId_Params) String

func (EmailVerifier_getId_Params) ToPtr

type EmailVerifier_getId_Params_Future

type EmailVerifier_getId_Params_Future struct{ *capnp.Future }

EmailVerifier_getId_Params_Future is a wrapper for a EmailVerifier_getId_Params promised by a client call.

func (EmailVerifier_getId_Params_Future) Struct

type EmailVerifier_getId_Params_List

type EmailVerifier_getId_Params_List = capnp.StructList[EmailVerifier_getId_Params]

EmailVerifier_getId_Params_List is a list of EmailVerifier_getId_Params.

func NewEmailVerifier_getId_Params_List

func NewEmailVerifier_getId_Params_List(s *capnp.Segment, sz int32) (EmailVerifier_getId_Params_List, error)

NewEmailVerifier_getId_Params creates a new list of EmailVerifier_getId_Params.

type EmailVerifier_getId_Results

type EmailVerifier_getId_Results capnp.Struct

func NewEmailVerifier_getId_Results

func NewEmailVerifier_getId_Results(s *capnp.Segment) (EmailVerifier_getId_Results, error)

func NewRootEmailVerifier_getId_Results

func NewRootEmailVerifier_getId_Results(s *capnp.Segment) (EmailVerifier_getId_Results, error)

func ReadRootEmailVerifier_getId_Results

func ReadRootEmailVerifier_getId_Results(msg *capnp.Message) (EmailVerifier_getId_Results, error)

func (EmailVerifier_getId_Results) DecodeFromPtr

func (EmailVerifier_getId_Results) EncodeAsPtr

func (s EmailVerifier_getId_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (EmailVerifier_getId_Results) HasId

func (EmailVerifier_getId_Results) Id

func (EmailVerifier_getId_Results) IsValid

func (s EmailVerifier_getId_Results) IsValid() bool

func (EmailVerifier_getId_Results) Message

func (EmailVerifier_getId_Results) Segment

func (EmailVerifier_getId_Results) SetId

func (s EmailVerifier_getId_Results) SetId(v []byte) error

func (EmailVerifier_getId_Results) String

func (EmailVerifier_getId_Results) ToPtr

type EmailVerifier_getId_Results_Future

type EmailVerifier_getId_Results_Future struct{ *capnp.Future }

EmailVerifier_getId_Results_Future is a wrapper for a EmailVerifier_getId_Results promised by a client call.

func (EmailVerifier_getId_Results_Future) Struct

type EmailVerifier_getId_Results_List

type EmailVerifier_getId_Results_List = capnp.StructList[EmailVerifier_getId_Results]

EmailVerifier_getId_Results_List is a list of EmailVerifier_getId_Results.

func NewEmailVerifier_getId_Results_List

func NewEmailVerifier_getId_Results_List(s *capnp.Segment, sz int32) (EmailVerifier_getId_Results_List, error)

NewEmailVerifier_getId_Results creates a new list of EmailVerifier_getId_Results.

type EmailVerifier_verifyEmail

type EmailVerifier_verifyEmail struct {
	*server.Call
}

EmailVerifier_verifyEmail holds the state for a server call to EmailVerifier.verifyEmail. See server.Call for documentation.

func (EmailVerifier_verifyEmail) AllocResults

AllocResults allocates the results struct.

func (EmailVerifier_verifyEmail) Args

Args returns the call's arguments.

type EmailVerifier_verifyEmail_Params

type EmailVerifier_verifyEmail_Params capnp.Struct

func NewEmailVerifier_verifyEmail_Params

func NewEmailVerifier_verifyEmail_Params(s *capnp.Segment) (EmailVerifier_verifyEmail_Params, error)

func NewRootEmailVerifier_verifyEmail_Params

func NewRootEmailVerifier_verifyEmail_Params(s *capnp.Segment) (EmailVerifier_verifyEmail_Params, error)

func ReadRootEmailVerifier_verifyEmail_Params

func ReadRootEmailVerifier_verifyEmail_Params(msg *capnp.Message) (EmailVerifier_verifyEmail_Params, error)

func (EmailVerifier_verifyEmail_Params) DecodeFromPtr

func (EmailVerifier_verifyEmail_Params) EncodeAsPtr

func (EmailVerifier_verifyEmail_Params) HasTabId

func (EmailVerifier_verifyEmail_Params) HasVerification

func (s EmailVerifier_verifyEmail_Params) HasVerification() bool

func (EmailVerifier_verifyEmail_Params) IsValid

func (EmailVerifier_verifyEmail_Params) Message

func (EmailVerifier_verifyEmail_Params) Segment

func (EmailVerifier_verifyEmail_Params) SetTabId

func (EmailVerifier_verifyEmail_Params) SetVerification

func (EmailVerifier_verifyEmail_Params) String

func (EmailVerifier_verifyEmail_Params) TabId

func (EmailVerifier_verifyEmail_Params) ToPtr

func (EmailVerifier_verifyEmail_Params) Verification

type EmailVerifier_verifyEmail_Params_Future

type EmailVerifier_verifyEmail_Params_Future struct{ *capnp.Future }

EmailVerifier_verifyEmail_Params_Future is a wrapper for a EmailVerifier_verifyEmail_Params promised by a client call.

func (EmailVerifier_verifyEmail_Params_Future) Struct

func (EmailVerifier_verifyEmail_Params_Future) Verification

type EmailVerifier_verifyEmail_Params_List

type EmailVerifier_verifyEmail_Params_List = capnp.StructList[EmailVerifier_verifyEmail_Params]

EmailVerifier_verifyEmail_Params_List is a list of EmailVerifier_verifyEmail_Params.

func NewEmailVerifier_verifyEmail_Params_List

func NewEmailVerifier_verifyEmail_Params_List(s *capnp.Segment, sz int32) (EmailVerifier_verifyEmail_Params_List, error)

NewEmailVerifier_verifyEmail_Params creates a new list of EmailVerifier_verifyEmail_Params.

type EmailVerifier_verifyEmail_Results

type EmailVerifier_verifyEmail_Results capnp.Struct

func NewEmailVerifier_verifyEmail_Results

func NewEmailVerifier_verifyEmail_Results(s *capnp.Segment) (EmailVerifier_verifyEmail_Results, error)

func NewRootEmailVerifier_verifyEmail_Results

func NewRootEmailVerifier_verifyEmail_Results(s *capnp.Segment) (EmailVerifier_verifyEmail_Results, error)

func ReadRootEmailVerifier_verifyEmail_Results

func ReadRootEmailVerifier_verifyEmail_Results(msg *capnp.Message) (EmailVerifier_verifyEmail_Results, error)

func (EmailVerifier_verifyEmail_Results) Address

func (EmailVerifier_verifyEmail_Results) AddressBytes

func (s EmailVerifier_verifyEmail_Results) AddressBytes() ([]byte, error)

func (EmailVerifier_verifyEmail_Results) DecodeFromPtr

func (EmailVerifier_verifyEmail_Results) EncodeAsPtr

func (EmailVerifier_verifyEmail_Results) HasAddress

func (s EmailVerifier_verifyEmail_Results) HasAddress() bool

func (EmailVerifier_verifyEmail_Results) IsValid

func (EmailVerifier_verifyEmail_Results) Message

func (EmailVerifier_verifyEmail_Results) Segment

func (EmailVerifier_verifyEmail_Results) SetAddress

func (EmailVerifier_verifyEmail_Results) String

func (EmailVerifier_verifyEmail_Results) ToPtr

type EmailVerifier_verifyEmail_Results_Future

type EmailVerifier_verifyEmail_Results_Future struct{ *capnp.Future }

EmailVerifier_verifyEmail_Results_Future is a wrapper for a EmailVerifier_verifyEmail_Results promised by a client call.

func (EmailVerifier_verifyEmail_Results_Future) Struct

type EmailVerifier_verifyEmail_Results_List

type EmailVerifier_verifyEmail_Results_List = capnp.StructList[EmailVerifier_verifyEmail_Results]

EmailVerifier_verifyEmail_Results_List is a list of EmailVerifier_verifyEmail_Results.

func NewEmailVerifier_verifyEmail_Results_List

func NewEmailVerifier_verifyEmail_Results_List(s *capnp.Segment, sz int32) (EmailVerifier_verifyEmail_Results_List, error)

NewEmailVerifier_verifyEmail_Results creates a new list of EmailVerifier_verifyEmail_Results.

type VerifiedEmail

type VerifiedEmail capnp.Client

func VerifiedEmail_ServerToClient

func VerifiedEmail_ServerToClient(s VerifiedEmail_Server) VerifiedEmail

VerifiedEmail_ServerToClient creates a new Client from an implementation of VerifiedEmail_Server. The caller is responsible for calling Release on the returned Client.

func (VerifiedEmail) AddRef

func (c VerifiedEmail) AddRef() VerifiedEmail

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (VerifiedEmail) DecodeFromPtr

func (VerifiedEmail) DecodeFromPtr(p capnp.Ptr) VerifiedEmail

func (VerifiedEmail) EncodeAsPtr

func (c VerifiedEmail) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (VerifiedEmail) GetFlowLimiter

func (c VerifiedEmail) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (VerifiedEmail) IsSame

func (c VerifiedEmail) IsSame(other VerifiedEmail) bool

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (VerifiedEmail) IsValid

func (c VerifiedEmail) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (VerifiedEmail) Release

func (c VerifiedEmail) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (VerifiedEmail) Resolve

func (c VerifiedEmail) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (VerifiedEmail) SetFlowLimiter

func (c VerifiedEmail) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (VerifiedEmail) String

func (c VerifiedEmail) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type VerifiedEmailSendPort

type VerifiedEmailSendPort capnp.Client

func VerifiedEmailSendPort_ServerToClient

func VerifiedEmailSendPort_ServerToClient(s VerifiedEmailSendPort_Server) VerifiedEmailSendPort

VerifiedEmailSendPort_ServerToClient creates a new Client from an implementation of VerifiedEmailSendPort_Server. The caller is responsible for calling Release on the returned Client.

func (VerifiedEmailSendPort) AddRef

AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.

func (VerifiedEmailSendPort) DecodeFromPtr

func (VerifiedEmailSendPort) EncodeAsPtr

func (c VerifiedEmailSendPort) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (VerifiedEmailSendPort) GetFlowLimiter

func (c VerifiedEmailSendPort) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (VerifiedEmailSendPort) HintAddress

func (VerifiedEmailSendPort) IsSame

IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.

func (VerifiedEmailSendPort) IsValid

func (c VerifiedEmailSendPort) IsValid() bool

IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.

func (VerifiedEmailSendPort) Release

func (c VerifiedEmailSendPort) Release()

Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.

Release will panic if c has already been released, but not if c is nil or resolved to null.

func (VerifiedEmailSendPort) Resolve

func (c VerifiedEmailSendPort) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

func (VerifiedEmailSendPort) Send

func (VerifiedEmailSendPort) SetFlowLimiter

func (c VerifiedEmailSendPort) SetFlowLimiter(lim fc.FlowLimiter)

Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.

func (VerifiedEmailSendPort) String

func (c VerifiedEmailSendPort) String() string

String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.

type VerifiedEmailSendPort_List

type VerifiedEmailSendPort_List = capnp.CapList[VerifiedEmailSendPort]

VerifiedEmailSendPort_List is a list of VerifiedEmailSendPort.

func NewVerifiedEmailSendPort_List

func NewVerifiedEmailSendPort_List(s *capnp.Segment, sz int32) (VerifiedEmailSendPort_List, error)

NewVerifiedEmailSendPort creates a new list of VerifiedEmailSendPort.

type VerifiedEmailSendPort_PowerboxTag

type VerifiedEmailSendPort_PowerboxTag capnp.Struct

func NewRootVerifiedEmailSendPort_PowerboxTag

func NewRootVerifiedEmailSendPort_PowerboxTag(s *capnp.Segment) (VerifiedEmailSendPort_PowerboxTag, error)

func NewVerifiedEmailSendPort_PowerboxTag

func NewVerifiedEmailSendPort_PowerboxTag(s *capnp.Segment) (VerifiedEmailSendPort_PowerboxTag, error)

func ReadRootVerifiedEmailSendPort_PowerboxTag

func ReadRootVerifiedEmailSendPort_PowerboxTag(msg *capnp.Message) (VerifiedEmailSendPort_PowerboxTag, error)

func (VerifiedEmailSendPort_PowerboxTag) DecodeFromPtr

func (VerifiedEmailSendPort_PowerboxTag) EncodeAsPtr

func (VerifiedEmailSendPort_PowerboxTag) HasPort

func (VerifiedEmailSendPort_PowerboxTag) HasVerification

func (s VerifiedEmailSendPort_PowerboxTag) HasVerification() bool

func (VerifiedEmailSendPort_PowerboxTag) IsValid

func (VerifiedEmailSendPort_PowerboxTag) Message

func (VerifiedEmailSendPort_PowerboxTag) NewPort

NewPort sets the port field to a newly allocated EmailSendPort_PowerboxTag struct, preferring placement in s's segment.

func (VerifiedEmailSendPort_PowerboxTag) NewVerification

NewVerification sets the verification field to a newly allocated VerifiedEmail_PowerboxTag struct, preferring placement in s's segment.

func (VerifiedEmailSendPort_PowerboxTag) Port

func (VerifiedEmailSendPort_PowerboxTag) Segment

func (VerifiedEmailSendPort_PowerboxTag) SetPort

func (VerifiedEmailSendPort_PowerboxTag) SetVerification

func (VerifiedEmailSendPort_PowerboxTag) String

func (VerifiedEmailSendPort_PowerboxTag) ToPtr

func (VerifiedEmailSendPort_PowerboxTag) Verification

type VerifiedEmailSendPort_PowerboxTag_Future

type VerifiedEmailSendPort_PowerboxTag_Future struct{ *capnp.Future }

VerifiedEmailSendPort_PowerboxTag_Future is a wrapper for a VerifiedEmailSendPort_PowerboxTag promised by a client call.

func (VerifiedEmailSendPort_PowerboxTag_Future) Port

func (VerifiedEmailSendPort_PowerboxTag_Future) Struct

func (VerifiedEmailSendPort_PowerboxTag_Future) Verification

type VerifiedEmailSendPort_PowerboxTag_List

type VerifiedEmailSendPort_PowerboxTag_List = capnp.StructList[VerifiedEmailSendPort_PowerboxTag]

VerifiedEmailSendPort_PowerboxTag_List is a list of VerifiedEmailSendPort_PowerboxTag.

func NewVerifiedEmailSendPort_PowerboxTag_List

func NewVerifiedEmailSendPort_PowerboxTag_List(s *capnp.Segment, sz int32) (VerifiedEmailSendPort_PowerboxTag_List, error)

NewVerifiedEmailSendPort_PowerboxTag creates a new list of VerifiedEmailSendPort_PowerboxTag.

type VerifiedEmailSendPort_Server

type VerifiedEmailSendPort_Server interface {
	Send(context.Context, EmailSendPort_send) error

	HintAddress(context.Context, EmailSendPort_hintAddress) error
}

type VerifiedEmail_List

type VerifiedEmail_List = capnp.CapList[VerifiedEmail]

VerifiedEmail_List is a list of VerifiedEmail.

func NewVerifiedEmail_List

func NewVerifiedEmail_List(s *capnp.Segment, sz int32) (VerifiedEmail_List, error)

NewVerifiedEmail creates a new list of VerifiedEmail.

type VerifiedEmail_PowerboxTag

type VerifiedEmail_PowerboxTag capnp.Struct

func NewRootVerifiedEmail_PowerboxTag

func NewRootVerifiedEmail_PowerboxTag(s *capnp.Segment) (VerifiedEmail_PowerboxTag, error)

func NewVerifiedEmail_PowerboxTag

func NewVerifiedEmail_PowerboxTag(s *capnp.Segment) (VerifiedEmail_PowerboxTag, error)

func ReadRootVerifiedEmail_PowerboxTag

func ReadRootVerifiedEmail_PowerboxTag(msg *capnp.Message) (VerifiedEmail_PowerboxTag, error)

func (VerifiedEmail_PowerboxTag) Address

func (s VerifiedEmail_PowerboxTag) Address() (string, error)

func (VerifiedEmail_PowerboxTag) AddressBytes

func (s VerifiedEmail_PowerboxTag) AddressBytes() ([]byte, error)

func (VerifiedEmail_PowerboxTag) DecodeFromPtr

func (VerifiedEmail_PowerboxTag) Domain

func (s VerifiedEmail_PowerboxTag) Domain() (string, error)

func (VerifiedEmail_PowerboxTag) DomainBytes

func (s VerifiedEmail_PowerboxTag) DomainBytes() ([]byte, error)

func (VerifiedEmail_PowerboxTag) EncodeAsPtr

func (s VerifiedEmail_PowerboxTag) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (VerifiedEmail_PowerboxTag) HasAddress

func (s VerifiedEmail_PowerboxTag) HasAddress() bool

func (VerifiedEmail_PowerboxTag) HasDomain

func (s VerifiedEmail_PowerboxTag) HasDomain() bool

func (VerifiedEmail_PowerboxTag) HasVerifierId

func (s VerifiedEmail_PowerboxTag) HasVerifierId() bool

func (VerifiedEmail_PowerboxTag) IsValid

func (s VerifiedEmail_PowerboxTag) IsValid() bool

func (VerifiedEmail_PowerboxTag) Message

func (VerifiedEmail_PowerboxTag) Segment

func (VerifiedEmail_PowerboxTag) SetAddress

func (s VerifiedEmail_PowerboxTag) SetAddress(v string) error

func (VerifiedEmail_PowerboxTag) SetDomain

func (s VerifiedEmail_PowerboxTag) SetDomain(v string) error

func (VerifiedEmail_PowerboxTag) SetVerifierId

func (s VerifiedEmail_PowerboxTag) SetVerifierId(v []byte) error

func (VerifiedEmail_PowerboxTag) String

func (s VerifiedEmail_PowerboxTag) String() string

func (VerifiedEmail_PowerboxTag) ToPtr

func (VerifiedEmail_PowerboxTag) VerifierId

func (s VerifiedEmail_PowerboxTag) VerifierId() ([]byte, error)

type VerifiedEmail_PowerboxTag_Future

type VerifiedEmail_PowerboxTag_Future struct{ *capnp.Future }

VerifiedEmail_PowerboxTag_Future is a wrapper for a VerifiedEmail_PowerboxTag promised by a client call.

func (VerifiedEmail_PowerboxTag_Future) Struct

type VerifiedEmail_PowerboxTag_List

type VerifiedEmail_PowerboxTag_List = capnp.StructList[VerifiedEmail_PowerboxTag]

VerifiedEmail_PowerboxTag_List is a list of VerifiedEmail_PowerboxTag.

func NewVerifiedEmail_PowerboxTag_List

func NewVerifiedEmail_PowerboxTag_List(s *capnp.Segment, sz int32) (VerifiedEmail_PowerboxTag_List, error)

NewVerifiedEmail_PowerboxTag creates a new list of VerifiedEmail_PowerboxTag.

type VerifiedEmail_Server

type VerifiedEmail_Server interface {
}

Jump to

Keyboard shortcuts

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