response

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Login

type Login struct {
	UserID      uint   `json:"user_id"`
	AccessToken string `json:"access_token"`
}

Login 登陆返回

type MailInfo added in v0.0.7

type MailInfo struct {
	ID         uint     `json:"id"`          // 流水号
	Status     uint     `json:"status"`      // 状态号
	StatusText string   `json:"status_text"` // 状态文本
	SenderName string   `json:"sender_name"` // 抬头
	Type       string   `json:"type"`        // 邮件内容类型
	Content    string   `json:"content"`     // 邮件正文
	ToMails    []string `json:"to_mails"`    // 发送列表
}

MailInfo 邮件信息

type MailType

type MailType struct {
	Type string `json:"type"`
}

MailType mail type

type NotificationType

type NotificationType struct {
	Name string `json:"name"`
	Key  string `json:"key"`
}

NotificationType notification type

type Register

type Register struct {
	UserID uint `json:"user_id"`
}

Register 注册返回

type TokenDetail

type TokenDetail struct {
	Name  string `json:"name"`
	Token string `json:"token"`
}

TokenDetail token detail

Jump to

Keyboard shortcuts

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