Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct { SMTP *conf.SMTP pb.UnimplementedEmailServer }
func (*Email) Send ¶
func (e *Email) Send(ctx context.Context, req *pb.Mail) (*wrapperspb.StringValue, error)
type Ntfy ¶
type Ntfy struct { NTFY *conf.NTFY pb.UnimplementedNtfyServer }
func (*Ntfy) Send ¶
func (n *Ntfy) Send(ctx context.Context, msg *pb.Msg) (*wrapperspb.StringValue, error)
type Template ¶
type Template struct {
pb.UnimplementedTemplateServer
}
func NewTemplate ¶
func NewTemplate() *Template
func (*Template) Render ¶
func (t *Template) Render(ctx context.Context, req *pb.RenderRequest) (*wrapperspb.StringValue, error)
Click to show internal directories.
Click to hide internal directories.