Documentation ¶
Overview ¶
Package mailserver provides a naive, example mailserver implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WMailServer ¶
type WMailServer struct {
// contains filtered or unexported fields
}
WMailServer represents the state data of the mailserver.
func (*WMailServer) Archive ¶
func (s *WMailServer) Archive(env *whisper.Envelope)
Archive stores the
func (*WMailServer) DeliverMail ¶
func (s *WMailServer) DeliverMail(peer *whisper.Peer, request *whisper.Envelope)
DeliverMail responds with saved messages upon request by the messages' owner.
Click to show internal directories.
Click to hide internal directories.