internal

package
v0.0.0-...-3458964 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToJson

func ToJson(data interface{}) []byte

Types

type Alarm

type Alarm struct {
	Corp      *corporation.Corporation
	CorpApp   *corporation.App
	AppConfig corporation.AppConfig
}

func GetInstance

func GetInstance(corpid, agentID, secret, token, encodingAESKey string) *Alarm

func (*Alarm) SendMessage

func (e *Alarm) SendMessage(toUser, content string) (interface{}, error)

Jump to

Keyboard shortcuts

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