MCPcopy
hub / github.com/ory/keto / NewHandler

Function NewHandler

internal/relationtuple/handler.go:40–44  ·  view source on GitHub ↗
(d handlerDeps)

Source from the content-addressed store, hash-verified

38)
39
40func NewHandler(d handlerDeps) *Handler {
41 return &Handler{
42 d: d,
43 }
44}
45
46func (h *Handler) RegisterReadRoutes(r *httprouterx.RouterPublic) {
47 r.GET(ReadRouteBase, h.getRelations)

Callers 3

allHandlersMethod · 0.92
TestReadHandlersFunction · 0.92
TestWriteHandlersFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestReadHandlersFunction · 0.74
TestWriteHandlersFunction · 0.74