MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / OnComplete

Method OnComplete

service/system-apikey/iml.go:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18func (i *imlAPIKeyService) OnComplete() {
19 i.IServiceGet = universally.NewGet[APIKey, system.APIKey](i.store, FromEntity)
20 i.IServiceCreate = universally.NewCreator[Create, system.APIKey](i.store, "system_apikey", i.createEntityHandler, i.uniquestHandler, i.labelHandler)
21 i.IServiceDelete = universally.NewDelete[system.APIKey](i.store)
22 i.IServiceEdit = universally.NewEdit[Update, system.APIKey](i.store, i.updateHandler, i.labelHandler)
23}
24
25func (i *imlAPIKeyService) idHandler(e *system.APIKey) int64 {
26 return e.Id

Callers

nothing calls this directly

Calls 3

NewGetFunction · 0.92
NewCreatorFunction · 0.92
NewEditFunction · 0.92

Tested by

no test coverage detected