MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / SortBefore

Method SortBefore

service/ai-key/service.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, provider string, originID string, targetID string)

Source from the content-addressed store, hash-verified

20 CountMapByProvider(ctx context.Context, keyword string, conditions map[string]interface{}) (map[string]int64, error)
21 MaxPriority(ctx context.Context, providerId string) (int, error)
22 SortBefore(ctx context.Context, provider string, originID string, targetID string) ([]*Key, error)
23 SortAfter(ctx context.Context, provider string, originID string, targetID string) ([]*Key, error)
24 KeysAfterPriority(ctx context.Context, providerId string, priority int) ([]*Key, error)
25 SearchUnExpiredByPage(ctx context.Context, w map[string]interface{}, page, pageSize int, order string) ([]*Key, int64, error)

Callers 2

SortMethod · 0.65
SortMethod · 0.65

Implementers 1

imlAIKeyServiceservice/ai-key/iml.go

Calls

no outgoing calls

Tested by

no test coverage detected