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

Method Prefix

controller/router/iml.go:43–49  ·  view source on GitHub ↗
(ctx *gin.Context, serviceId string)

Source from the content-addressed store, hash-verified

41}
42
43func (i *imlAPIController) Prefix(ctx *gin.Context, serviceId string) (string, bool, error) {
44 prefix, err := i.module.Prefix(ctx, serviceId)
45 if err != nil {
46 return "", false, err
47 }
48 return prefix, true, nil
49}
50
51var _ IAPIDocController = (*imlAPIDocController)(nil)
52

Callers

nothing calls this directly

Calls 1

PrefixMethod · 0.65

Tested by

no test coverage detected