common

package
v0.0.0-...-bfc6946 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfigResp

type AppConfigResp struct {
	RSAPublicKey           string
	Version                int
	SuperToken             string
	SuperTokenOn           int
	WelcomeMessage         string // 登录欢迎语
	NewUserJoinSystemGroup int    // 新用户是否加入系统群聊
	SearchByPhone          int    // 是否可通过手机号搜索
}

type IService

type IService interface {
	GetAppConfig() (*AppConfigResp, error)
	// 获取短编号
	GetShortno() (string, error)
	SetShortnoUsed(shortno string, business string) error
}

IService IService

func NewService

func NewService(ctx *config.Context) IService

NewService NewService

Jump to

Keyboard shortcuts

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