Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleaner ¶
type Cleaner struct {
// contains filtered or unexported fields
}
Cleaner removes old messages from a db
func NewCleanerWithDB ¶
func NewCleanerWithDB(db dbImpl) *Cleaner
NewCleanerWithDB returns a new Cleaner for db
type DBKey ¶
type DBKey struct {
// contains filtered or unexported fields
}
DBKey key to be stored on db.
type WMailServer ¶
type WMailServer struct {
// contains filtered or unexported fields
}
WMailServer whisper mailserver.
func (*WMailServer) Archive ¶
func (s *WMailServer) Archive(env *whisper.Envelope)
Archive a whisper envelope.
func (*WMailServer) Close ¶
func (s *WMailServer) Close()
Close the mailserver and its associated db connection.
func (*WMailServer) DeliverMail ¶
func (s *WMailServer) DeliverMail(peer *whisper.Peer, request *whisper.Envelope)
DeliverMail sends mail to specified whisper peer.
func (*WMailServer) Init ¶
func (s *WMailServer) Init(shh *whisper.Whisper, config *params.WhisperConfig) error
Init initializes mailServer.
Click to show internal directories.
Click to hide internal directories.