MCPcopy Create free account
hub / github.com/bricks-cloud/BricksLLM / KeyManager

Interface KeyManager

internal/server/web/proxy/proxy.go:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47type KeyManager interface {
48 GetKeys(tags, keyIds []string, provider string) ([]*key.ResponseKey, error)
49 UpdateKey(id string, key *key.UpdateKey) (*key.ResponseKey, error)
50 CreateKey(key *key.RequestKey) (*key.ResponseKey, error)
51 DeleteKey(id string) error
52}
53
54type CustomProvidersManager interface {
55 GetRouteConfigFromMem(name, path string) *custom.RouteConfig

Callers

nothing calls this directly

Implementers 2

Storeinternal/storage/postgresql/postgresql
Managerinternal/manager/key.go

Calls

no outgoing calls

Tested by

no test coverage detected