chat

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: GPL-3.0 Imports: 24 Imported by: 0

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, config *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
}

Jump to

Keyboard shortcuts

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