common

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiBatchAggLogic added in v1.2.1

type ApiBatchAggLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewApiBatchAggLogic added in v1.2.1

func NewApiBatchAggLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ApiBatchAggLogic

批量聚合接口请求

func (*ApiBatchAggLogic) ApiBatchAgg added in v1.2.1

func (l *ApiBatchAggLogic) ApiBatchAgg(r *http.Request, req *types.ApiBatchAggReq) (resp *types.ApiBatchAggResp, err error)

type ConfigLogic

type ConfigLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewConfigLogic

func NewConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ConfigLogic

func (*ConfigLogic) Config

func (l *ConfigLogic) Config() (resp *types.ConfigResp, err error)

type DebugGetLogic

type DebugGetLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDebugGetLogic

func NewDebugGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DebugGetLogic

func (*DebugGetLogic) DebugGet

func (l *DebugGetLogic) DebugGet(r *http.Request) (resp *types.DebugResp, err error)

type DebugGetTencentLogic

type DebugGetTencentLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDebugGetTencentLogic

func NewDebugGetTencentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DebugGetTencentLogic

func (*DebugGetTencentLogic) DebugGetTencent

func (l *DebugGetTencentLogic) DebugGetTencent() error

type DebugPostLogic

type DebugPostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDebugPostLogic

func NewDebugPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DebugPostLogic

func (*DebugPostLogic) DebugPost

func (l *DebugPostLogic) DebugPost(r *http.Request) (resp *types.DebugResp, err error)

type NtpReadLogic

type NtpReadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewNtpReadLogic

func NewNtpReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NtpReadLogic

func (*NtpReadLogic) NtpRead

func (l *NtpReadLogic) NtpRead(req *types.NtpReadReq) (resp *types.NtpReadResp, err error)

type QRCodeReadReqLogic

type QRCodeReadReqLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewQRCodeReadReqLogic

func NewQRCodeReadReqLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QRCodeReadReqLogic

func (*QRCodeReadReqLogic) QRCodeReadReq

func (l *QRCodeReadReqLogic) QRCodeReadReq(req *types.QRCodeReadReq) (resp *types.QRCodeReadResp, err error)

type ThirdDeptIndexLogic added in v1.2.0

type ThirdDeptIndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewThirdDeptIndexLogic added in v1.2.0

func NewThirdDeptIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ThirdDeptIndexLogic

获取第三方的部门信息

func (*ThirdDeptIndexLogic) ThirdDeptIndex added in v1.2.0

func (l *ThirdDeptIndexLogic) ThirdDeptIndex(req *types.ThirdDeptInfoIndexReq) (resp *types.DeptInfoIndexResp, err error)

type ThirdDeptReadLogic added in v1.2.0

type ThirdDeptReadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewThirdDeptReadLogic added in v1.2.0

func NewThirdDeptReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ThirdDeptReadLogic

获取第三方的部门信息,Children只能获取一层,需要递归获取

func (*ThirdDeptReadLogic) ThirdDeptRead added in v1.2.0

func (l *ThirdDeptReadLogic) ThirdDeptRead(req *types.ThirdDeptInfoReadReq) (resp *types.DeptInfo, err error)

type UploadFileLogic

type UploadFileLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUploadFileLogic

func NewUploadFileLogic(ctx context.Context, svcCtx *svc.ServiceContext, r *http.Request) *UploadFileLogic

func (*UploadFileLogic) UploadFile

func (l *UploadFileLogic) UploadFile() (resp *types.UploadFileResp, err error)

type UploadUrlCreateLogic

type UploadUrlCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUploadUrlCreateLogic

func NewUploadUrlCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UploadUrlCreateLogic

func (*UploadUrlCreateLogic) UploadUrlCreate

func (l *UploadUrlCreateLogic) UploadUrlCreate(req *types.UploadUrlCreateReq) (resp *types.UploadUrlCreateResp, err error)

type WeatherReadLogic

type WeatherReadLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewWeatherReadLogic

func NewWeatherReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WeatherReadLogic

func (*WeatherReadLogic) WeatherRead

func (l *WeatherReadLogic) WeatherRead(req *types.WeatherReadReq) (resp *types.WeatherReadResp, err error)

type WebsocketConnectLogic

type WebsocketConnectLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewWebsocketConnectLogic

func NewWebsocketConnectLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WebsocketConnectLogic

func (*WebsocketConnectLogic) WebsocketConnect

func (l *WebsocketConnectLogic) WebsocketConnect(r *http.Request, conn *websocket.Conn) error

type WebsocketSubscribeCreateLogic

type WebsocketSubscribeCreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewWebsocketSubscribeCreateLogic

func NewWebsocketSubscribeCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WebsocketSubscribeCreateLogic

func (*WebsocketSubscribeCreateLogic) WebsocketSubscribeCreate

func (l *WebsocketSubscribeCreateLogic) WebsocketSubscribeCreate(req *types.WebsocketSubscribeInfo) error

type WebsocketSubscribeDeleteLogic

type WebsocketSubscribeDeleteLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewWebsocketSubscribeDeleteLogic

func NewWebsocketSubscribeDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WebsocketSubscribeDeleteLogic

func (*WebsocketSubscribeDeleteLogic) WebsocketSubscribeDelete

func (l *WebsocketSubscribeDeleteLogic) WebsocketSubscribeDelete(req *types.WebsocketSubscribeInfo) error

type WebsocketSubscribeIndexLogic

type WebsocketSubscribeIndexLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewWebsocketSubscribeIndexLogic

func NewWebsocketSubscribeIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WebsocketSubscribeIndexLogic

func (*WebsocketSubscribeIndexLogic) WebsocketSubscribeIndex

func (l *WebsocketSubscribeIndexLogic) WebsocketSubscribeIndex() (resp *types.WebsocketSubscribeIndexResp, err error)

Jump to

Keyboard shortcuts

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