package
2.4.4
Repository: https://github.com/huangjunwen/nproto.git
Documentation: pkg.go.dev

# README

Sendmail

This example illustrate the usage of:

How to run:

  1. You need to run ../docker-services first.
  2. make to build client/server binary.
  3. Fill ./server/conf.json. (e.g. smtp/user settings ...)
  4. Run server: cd server && ./server
  5. Run client: cd client && ./client, then you can issue commands like this:

Client Commands

Example tracing output:

Trace

# Packages

No description provided by the author
No description provided by the author

# 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.