module
go
import "github.com/prescriptoo/prescriptoo-api/services/notification/module"Package module provides the notification module's public API.
Index
type Module
Module is the notification module's public interface.
go
type Module struct {
module.Module
// contains filtered or unexported fields
}func NewModule
go
func NewModule(bus events.Bus, sender email.Sender) *ModuleNewModule creates and wires the notification module.
func (*Module) Routes
go
func (m *Module) Routes() http.HandlerRoutes returns the HTTP handler with all notification routes registered.
Generated by gomarkdoc