logic

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCoinLogic

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

func NewAddCoinLogic

func NewAddCoinLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddCoinLogic

func (*AddCoinLogic) AddCoin

func (l *AddCoinLogic) AddCoin(req *types.AddCoinReq) (resp *types.AddCoinResp, err error)

type AddErrorCodeLogic

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

func NewAddErrorCodeLogic

func NewAddErrorCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddErrorCodeLogic

func (*AddErrorCodeLogic) AddErrorCode

func (l *AddErrorCodeLogic) AddErrorCode(req *types.AddErrorCodeReq) (resp *types.Empty, err error)

type AddSymbolLogic

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

func NewAddSymbolLogic

func NewAddSymbolLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddSymbolLogic

func (*AddSymbolLogic) AddSymbol

func (l *AddSymbolLogic) AddSymbol(req *types.AddSymbolReq) (resp *types.AddSymbolResp, err error)

type GetCoinListLogic

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

func NewGetCoinListLogic

func NewGetCoinListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCoinListLogic

func (*GetCoinListLogic) GetCoinList

func (l *GetCoinListLogic) GetCoinList(req *types.GetCoinListReq) (resp *types.GetCoinListResp, err error)

type GetErrorCodeListLogic

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

func NewGetErrorCodeListLogic

func NewGetErrorCodeListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetErrorCodeListLogic

func (*GetErrorCodeListLogic) GetErrorCodeList

func (l *GetErrorCodeListLogic) GetErrorCodeList(req *types.GetErrorCodeListReq) (resp *types.GetErrorCodeListResp, err error)

type GetMatchListLogic added in v1.2.0

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

func NewGetMatchListLogic added in v1.2.0

func NewGetMatchListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMatchListLogic

func (*GetMatchListLogic) GetMatchList added in v1.2.0

func (l *GetMatchListLogic) GetMatchList(req *types.GetMatchListReq) (resp *types.GetMatchListResp, err error)

type GetServiceConfigLogic

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

func NewGetServiceConfigLogic

func NewGetServiceConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetServiceConfigLogic

func (*GetServiceConfigLogic) GetServiceConfig

func (l *GetServiceConfigLogic) GetServiceConfig(req *types.GetServiceConfigReq) (resp *types.GetServiceConfigResp, err error)

type GetSymbolListLogic

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

func NewGetSymbolListLogic

func NewGetSymbolListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetSymbolListLogic

func (*GetSymbolListLogic) GetSymbolList

func (l *GetSymbolListLogic) GetSymbolList(req *types.GetSymbolListReq) (resp *types.GetSymbolListResp, err error)

type LoginLogic

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

func NewLoginLogic

func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic

func (*LoginLogic) Login

func (l *LoginLogic) Login(req *types.LoginReq) (resp *types.LoginResp, err error)

type RegisterLogic

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

func NewRegisterLogic

func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic

func (*RegisterLogic) Register

func (l *RegisterLogic) Register(req *types.RegisterReq) (resp *types.Empty, err error)

type SyncCoinConfigLogic added in v1.2.0

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

func NewSyncCoinConfigLogic added in v1.2.0

func NewSyncCoinConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncCoinConfigLogic

func (*SyncCoinConfigLogic) SyncCoinConfig added in v1.2.0

func (l *SyncCoinConfigLogic) SyncCoinConfig(req *types.Empty) (resp *types.Empty, err error)

type SyncErrorCodeLogic added in v1.2.0

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

func NewSyncErrorCodeLogic added in v1.2.0

func NewSyncErrorCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncErrorCodeLogic

func (*SyncErrorCodeLogic) SyncErrorCode added in v1.2.0

func (l *SyncErrorCodeLogic) SyncErrorCode(req *types.Empty) (resp *types.Empty, err error)

type SyncSymbolConfigLogic added in v1.2.0

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

func NewSyncSymbolConfigLogic added in v1.2.0

func NewSyncSymbolConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncSymbolConfigLogic

func (*SyncSymbolConfigLogic) SyncSymbolConfig added in v1.2.0

func (l *SyncSymbolConfigLogic) SyncSymbolConfig(req *types.Empty) (resp *types.Empty, err error)

type UpdateCoinLogic

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

func NewUpdateCoinLogic

func NewUpdateCoinLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCoinLogic

func (*UpdateCoinLogic) UpdateCoin

func (l *UpdateCoinLogic) UpdateCoin(req *types.UpdateCoinReq) (resp *types.Empty, err error)

type UpdateErrorCodeLogic

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

func NewUpdateErrorCodeLogic

func NewUpdateErrorCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateErrorCodeLogic

func (*UpdateErrorCodeLogic) UpdateErrorCode

func (l *UpdateErrorCodeLogic) UpdateErrorCode(req *types.UpdateErrorCodeReq) (resp *types.Empty, err error)

type UpdateSymbolLogic

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

func NewUpdateSymbolLogic

func NewUpdateSymbolLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateSymbolLogic

func (*UpdateSymbolLogic) UpdateSymbol

func (l *UpdateSymbolLogic) UpdateSymbol(req *types.UpdateSymbolReq) (resp *types.UpdateSymbolResp, err error)

type UpsertServiceConfigLogic

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

func NewUpsertServiceConfigLogic

func NewUpsertServiceConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpsertServiceConfigLogic

func (*UpsertServiceConfigLogic) UpsertServiceConfig

func (l *UpsertServiceConfigLogic) UpsertServiceConfig(req *types.UpsertServiceConfigReq) (resp *types.Empty, err error)

Jump to

Keyboard shortcuts

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