mailspnpdriver

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 2 Imported by: 0

README

mails-pnp-driver

The Pull-and-Push driver for golang module( github.com/starter-go/module-email )

架构

{driver} ==== {agent} == push to ==> {server} <== pull == {dispatcher}
driver
是消息的源头,它把消息推送到 server 并让其处理
agent
agent 充当 driver 与 server  之间的中介;
如果 driver & server 被集成在同一个进程,则不需要使用 agent;
否则,应该把 agent & driver 集成在同一进程,
让 agent 把 driver 提交的请求发送给 server;
server
以 http 的形式提供服务,  处理消息的推送和拉取
dispatcher
从 server 拉取消息,并通过 tomail|sms 发送到最终用户

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentModule added in v0.0.2

func NewAgentModule() *application.ModuleBuilder

NewAgentModule ... 代理模块

func NewCommonModule added in v0.0.2

func NewCommonModule() *application.ModuleBuilder

NewCommonModule ...

func NewDispatcherModule added in v0.0.2

func NewDispatcherModule() *application.ModuleBuilder

NewDispatcherModule ... 最终的发送模块

func NewDriverModule added in v0.0.2

func NewDriverModule() *application.ModuleBuilder

NewDriverModule ... 驱动模块

func NewServerModule added in v0.0.2

func NewServerModule() *application.ModuleBuilder

NewServerModule ... HTTP 服务模块

func NewTestModule

func NewTestModule() *application.ModuleBuilder

NewTestModule ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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