invite

package
v0.0.0-...-6525043 Latest Latest
Warning

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

Go to latest
Published: May 15, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

*

  • Description:
  • Author: Yihen.Liu
  • Create: 2021-04-30

Index

Constants

This section is empty.

Variables

View Source
var (
	DB                 *gorm.DB // it is no need to mind closing action.
	BOT_WORKING_GROUPS = map[string]bool{
		"eva_test_6":           true,
		"eva_bot_2":            true,
		"eva_bot_test":         true,
		"Evanesco_Official_EN": true,
		"Evanesco_Official_CN": true,
	}
)

Functions

func RunService

func RunService()

Types

type Invitor

type Invitor struct {
	ID         int    `json:"id"`
	InvitorURL string `json:"invitor_url"`
	UserName   string `json:"user_name"`
	FirstName  string `json:"first_name"`
	UserId     string `json:"user_id"`
	Status     int8   `json:"status"`
	GroupName  string `json:"group_name"`
	CreateTime int64  `json:"create_time"`
	UpdateTime int64  `json:"update_time"`
}

type URL

type URL struct {
	ID         int    `json:"id"`
	URLValue   string `json:"url_value"`
	Status     int    `json:"status"`
	UserName   string `json:"user_name"`
	UserId     string `json:"user_id"`
	ChatId     string `json:"chat_id"`
	CreateTime int64  `json:"create_time"`
	UpdateTime int64  `json:"update_time"`
}

Jump to

Keyboard shortcuts

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