Documentation ¶
Index ¶
- type ApiBatchAggLogic
- type ConfigLogic
- type DebugGetLogic
- type DebugGetTencentLogic
- type DebugPostLogic
- type NtpReadLogic
- type QRCodeReadReqLogic
- type ThirdDeptIndexLogic
- type ThirdDeptReadLogic
- type UploadFileLogic
- type UploadUrlCreateLogic
- type WeatherReadLogic
- type WebsocketConnectLogic
- type WebsocketSubscribeCreateLogic
- type WebsocketSubscribeDeleteLogic
- type WebsocketSubscribeIndexLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiBatchAggLogic ¶ added in v1.2.1
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 ¶
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 ¶
func NewDebugGetLogic ¶
func NewDebugGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DebugGetLogic
type DebugGetTencentLogic ¶
func NewDebugGetTencentLogic ¶
func NewDebugGetTencentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DebugGetTencentLogic
func (*DebugGetTencentLogic) DebugGetTencent ¶
func (l *DebugGetTencentLogic) DebugGetTencent() error
type DebugPostLogic ¶
func NewDebugPostLogic ¶
func NewDebugPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DebugPostLogic
type NtpReadLogic ¶
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 ¶
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
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
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 ¶
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 ¶
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 ¶
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 ¶
func NewWebsocketConnectLogic ¶
func NewWebsocketConnectLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WebsocketConnectLogic
func (*WebsocketConnectLogic) WebsocketConnect ¶
type WebsocketSubscribeCreateLogic ¶
func NewWebsocketSubscribeCreateLogic ¶
func NewWebsocketSubscribeCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WebsocketSubscribeCreateLogic
func (*WebsocketSubscribeCreateLogic) WebsocketSubscribeCreate ¶
func (l *WebsocketSubscribeCreateLogic) WebsocketSubscribeCreate(req *types.WebsocketSubscribeInfo) error
type WebsocketSubscribeDeleteLogic ¶
func NewWebsocketSubscribeDeleteLogic ¶
func NewWebsocketSubscribeDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WebsocketSubscribeDeleteLogic
func (*WebsocketSubscribeDeleteLogic) WebsocketSubscribeDelete ¶
func (l *WebsocketSubscribeDeleteLogic) WebsocketSubscribeDelete(req *types.WebsocketSubscribeInfo) error
type WebsocketSubscribeIndexLogic ¶
func NewWebsocketSubscribeIndexLogic ¶
func NewWebsocketSubscribeIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WebsocketSubscribeIndexLogic
func (*WebsocketSubscribeIndexLogic) WebsocketSubscribeIndex ¶
func (l *WebsocketSubscribeIndexLogic) WebsocketSubscribeIndex() (resp *types.WebsocketSubscribeIndexResp, err error)
Source Files ¶
- apiBatchAggLogic.go
- configLogic.go
- debugGetLogic.go
- debugGetTencentLogic.go
- debugPostLogic.go
- ntpReadLogic.go
- qRCodeReadReqLogic.go
- thirdDeptIndexLogic.go
- thirdDeptReadLogic.go
- uploadFileLogic.go
- uploadUrlCreateLogic.go
- weatherReadLogic.go
- websocketConnectLogic.go
- websocketSubscribeCreateLogic.go
- websocketSubscribeDeleteLogic.go
- websocketSubscribeIndexLogic.go
Click to show internal directories.
Click to hide internal directories.