business

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

* @Author: SpenserCai * @Date: 2023-09-30 12:53:43 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-03 16:45:54 * @Description: file content

* @Author: SpenserCai * @Date: 2023-09-29 19:24:52 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-02 21:08:46 * @Description: file content

* @Author: SpenserCai * @Date: 2023-10-09 17:31:54 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-09 18:08:41 * @Description: file content

* @Author: SpenserCai * @Date: 2023-10-09 20:01:58 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-18 22:11:22 * @Description: file content

* @Author: SpenserCai * @Date: 2023-10-09 11:01:47 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-09 11:03:58 * @Description: file content

* @Author: SpenserCai * @Date: 2023-09-29 21:25:55 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-09-30 21:57:18 * @Description: file content

* @Author: SpenserCai * @Date: 2023-10-09 12:48:04 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-09 12:50:53 * @Description: file content

* @Author: SpenserCai * @Date: 2023-10-19 14:18:07 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-19 14:21:03 * @Description: file content

* @Author: SpenserCai * @Date: 2023-10-19 14:11:00 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-19 14:14:32 * @Description: file content

* @Author: SpenserCai * @Date: 2023-10-04 20:26:32 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-18 22:08:17 * @Description: file content

* @Author: SpenserCai * @Date: 2023-09-29 21:26:43 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-19 14:09:38 * @Description: file content

* @Author: SpenserCai * @Date: 2023-09-29 21:26:59 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-10-19 14:09:53 * @Description: file content

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthResponse

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

func (AuthResponse) WriteResponse

func (ap AuthResponse) WriteResponse(rw http.ResponseWriter, p runtime.Producer)

type BusinessBase

type BusinessBase struct{}

func (BusinessBase) GenRandomState

func (b BusinessBase) GenRandomState() []string

func (BusinessBase) GetDiscordAuthUrl

func (b BusinessBase) GetDiscordAuthUrl() string

func (BusinessBase) GetDiscordOauth2Config

func (b BusinessBase) GetDiscordOauth2Config() oauth2.Config

func (BusinessBase) GetUserInfo

func (b BusinessBase) GetUserInfo(token string) (*DbotUser.UserInfo, error)

func (BusinessBase) SetAuthHandler

func (b BusinessBase) SetAuthHandler()

func (BusinessBase) SetClusterHandler added in v1.1.2

func (b BusinessBase) SetClusterHandler()

func (BusinessBase) SetCommunityHistoryHandler added in v1.1.3

func (b BusinessBase) SetCommunityHistoryHandler()

func (BusinessBase) SetDiscordServerHandler added in v1.1.2

func (b BusinessBase) SetDiscordServerHandler()

func (BusinessBase) SetLoginHandler

func (b BusinessBase) SetLoginHandler()

func (BusinessBase) SetOpenDiscordServerHandler added in v1.1.2

func (b BusinessBase) SetOpenDiscordServerHandler()

func (BusinessBase) SetSetUserEnableHandler added in v1.3.3

func (b BusinessBase) SetSetUserEnableHandler()

func (BusinessBase) SetSetUserPrivateHandler added in v1.3.3

func (b BusinessBase) SetSetUserPrivateHandler()

func (BusinessBase) SetUserHistoryHandler

func (b BusinessBase) SetUserHistoryHandler()

func (BusinessBase) SetUserInfoHandler

func (b BusinessBase) SetUserInfoHandler()

func (BusinessBase) SetUserListHandler

func (b BusinessBase) SetUserListHandler()

Jump to

Keyboard shortcuts

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