common

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 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