notify

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NOTIFY_ERR_REQ = "0001"
	NOTIFY_ERR_MSG = "0002"
)
View Source
const (
	ServiceName = "notify"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomerImage

type CustomerImage struct {
	Endpoint string `json:"endpoint"`
	Path     string `json:"path"`
}

type CustomerImageResp

type CustomerImageResp struct {
	MediaID string `json:"media_id"`
}

type CustomerMsg

type CustomerMsg struct {
	Endpoint string      `json:"endpoint"`
	Body     interface{} `json:"body"`
}

type EnterpriseMsg

type EnterpriseMsg struct {
	Endpoint string `json:"endpoint"`
	wechat.EnterpriseGroupMsg
}

type MPSubscribeMsg

type MPSubscribeMsg struct {
	Endpoint string `json:"endpoint"`
}

type Service

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

func (*Service) Enable

func (s *Service) Enable() bool

func (*Service) Init

func (s *Service) Init(app sptty.ISptty) error

func (*Service) Release

func (s *Service) Release()

func (*Service) ServiceName

func (s *Service) ServiceName() string

type TemplateMsg

type TemplateMsg struct {
	Endpoint string `json:"endpoint"`
	wechat.MsgTemplate
}

Jump to

Keyboard shortcuts

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