# README
Sendmail
This example illustrate the usage of:
How to run:
- You need to run
../docker-services
first. make
to build client/server binary.- Fill
./server/conf.json
. (e.g. smtp/user settings ...) - Run server:
cd server && ./server
- Run client:
cd client && ./client
, then you can issue commands like this:
Example tracing output:
# Functions
InvokeSendMailSvc invokes SendMailSvc service using a RPCClient.
NewSendMailSvcSpec creates a new SendMailSvcSpec.
PublishEmailEntry publish a EmailEntry message.
ServeSendMailSvc serves SendMailSvc service using a RPCServer.
SubscribeEmailEntry subscribes to a EmailEntry topic.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Enum value maps for EmailEntry_Status.
Enum value maps for EmailEntry_Status.
No description provided by the author
QueueSpec is the msg spec for publisher/subscriber.
SvcSpec is the service spec for rpc server/client.
# Structs
No description provided by the author
No description provided by the author
@@npmsg@@.
SendMailSvcSpec contains method specs of service SendMailSvc.
# Interfaces
@@nprpc@@.
# Type aliases
Status indicates the sending status.
EmailEntrySpec implements msg.MsgSpec interface.