constant

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageStatus

type MessageStatus int

MessageStatus 状态

const (
	// Draft 草稿
	Draft MessageStatus = 1
	// Sending 发送中
	Sending MessageStatus = 2
	// AlreadySent 已发送
	AlreadySent MessageStatus = 3
)

type MessageTypes

type MessageTypes int

MessageTypes 系统消息 通知消息

const (
	// SystemSort 系统消息
	SystemSort MessageTypes = 1
	// NoticeSort 通知通告
	NoticeSort MessageTypes = 2
)

type ReadStatus

type ReadStatus int

ReadStatus 消息读取状态

const (
	// NotRead 未读
	NotRead ReadStatus = 1
	// AlreadyRead 已读
	AlreadyRead ReadStatus = 2
)

type Receiver

type Receiver struct {
	// Type 1: 人员 2:部门
	Type int    `json:"type,omitempty"`
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

Receiver receiver 定义

Jump to

Keyboard shortcuts

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