chat

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: GPL-3.0 Imports: 33 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetChatRoute

func SetChatRoute(router gin.IRouter, chat *Api, mw *chatmw.MW)

func Start

func Start(ctx context.Context, index int, cfg *Config) error

Types

type Api

type Api struct {
	*util.Api
	// contains filtered or unexported fields
}

func New

func New(chatClient chatpb.ChatClient, adminClient admin.AdminClient, imApiCaller imapi.CallerInterface, api *util.Api) *Api

func (*Api) ChangePassword

func (o *Api) ChangePassword(c *gin.Context)

func (*Api) FindApplet

func (o *Api) FindApplet(c *gin.Context)

func (*Api) FindUserFullInfo

func (o *Api) FindUserFullInfo(c *gin.Context)

func (*Api) FindUserPublicInfo

func (o *Api) FindUserPublicInfo(c *gin.Context)

func (*Api) GetClientConfig

func (o *Api) GetClientConfig(c *gin.Context)

func (*Api) GetTokenForVideoMeeting

func (o *Api) GetTokenForVideoMeeting(c *gin.Context)

func (*Api) LatestApplicationVersion added in v1.8.3

func (o *Api) LatestApplicationVersion(c *gin.Context)

func (*Api) Login

func (o *Api) Login(c *gin.Context)

func (*Api) OpenIMCallback

func (o *Api) OpenIMCallback(c *gin.Context)

func (*Api) PageApplicationVersion added in v1.8.3

func (o *Api) PageApplicationVersion(c *gin.Context)

func (*Api) RegisterUser

func (o *Api) RegisterUser(c *gin.Context)

func (*Api) ResetPassword

func (o *Api) ResetPassword(c *gin.Context)

func (*Api) SearchFriend

func (o *Api) SearchFriend(c *gin.Context)

func (*Api) SearchUserFullInfo

func (o *Api) SearchUserFullInfo(c *gin.Context)

func (*Api) SearchUserPublicInfo

func (o *Api) SearchUserPublicInfo(c *gin.Context)

func (*Api) SendVerifyCode

func (o *Api) SendVerifyCode(c *gin.Context)

func (*Api) UpdateUserInfo

func (o *Api) UpdateUserInfo(c *gin.Context)

func (*Api) VerifyCode

func (o *Api) VerifyCode(c *gin.Context)

type Config

type Config struct {
	ApiConfig config.API
	Discovery config.Discovery
	Share     config.Share

	RuntimeEnv string
}

Jump to

Keyboard shortcuts

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