api

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Url string `yaml:"url"`
}

type Notifly

type Notifly struct {
	// contains filtered or unexported fields
}

func (*Notifly) InitService

func (s *Notifly) InitService(cfg *Config) error

func (*Notifly) PostCustomerImage

func (s *Notifly) PostCustomerImage(req *notify.CustomerImage) (string, error)

func (*Notifly) PostCustomerMsg

func (s *Notifly) PostCustomerMsg(req *notify.CustomerMsg) error

func (*Notifly) PostEnterpriseMsg

func (s *Notifly) PostEnterpriseMsg(req *notify.EnterpriseMsg) error

func (*Notifly) PostMPSubscribeMsg

func (s *Notifly) PostMPSubscribeMsg(req *notify.MPSubscribeMsg) error

func (*Notifly) PostTemplateMsg

func (s *Notifly) PostTemplateMsg(req *notify.TemplateMsg) error

Jump to

Keyboard shortcuts

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