Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IKeyService ¶
type IKeyService interface { universally.IServiceGet[Key] universally.IServiceCreate[Create] universally.IServiceEdit[Edit] universally.IServiceDelete DefaultKey(ctx context.Context, providerId string) (*Key, error) KeysByProvider(ctx context.Context, providerId string) ([]*Key, error) MaxPriority(ctx context.Context, providerId string) (int, error) SortBefore(ctx context.Context, provider string, originID string, targetID string) ([]*Key, error) SortAfter(ctx context.Context, provider string, originID string, targetID string) ([]*Key, error) KeysAfterPriority(ctx context.Context, providerId string, priority int) ([]*Key, error) SearchUnExpiredByPage(ctx context.Context, w map[string]interface{}, page, pageSize int, order string) ([]*Key, int64, error) IncrUseToken(ctx context.Context, id string, useToken int) error }
Click to show internal directories.
Click to hide internal directories.