Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balance ¶
type Balance struct {
Id string
Priority int
Provider string
ProviderName string
Model string
ModelName string
Type int
State int
Creator string
Updater string
CreateAt time.Time
UpdateAt time.Time
}
func FromEntity ¶
type IBalanceService ¶
type IBalanceService interface {
universally.IServiceGet[Balance]
universally.IServiceCreate[Create]
universally.IServiceEdit[Edit]
universally.IServiceDelete
MaxPriority(ctx context.Context) (int, error)
SortBefore(ctx context.Context, originID string, targetID string) ([]*Balance, error)
SortAfter(ctx context.Context, originID string, targetID string) ([]*Balance, error)
Exist(ctx context.Context, provider string, model string) (bool, error)
}
Click to show internal directories.
Click to hide internal directories.