Skip to content

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) *Module

NewModule creates and wires the notification module.

func (*Module) Routes ​

go
func (m *Module) Routes() http.Handler

Routes returns the HTTP handler with all notification routes registered.

Generated by gomarkdoc

Documentation follows the source. Planned contracts are marked explicitly.