MCPcopy
hub / github.com/benbjohnson/wtf / FindDialByID

Method FindDialByID

dial.go:86–86  ·  view source on GitHub ↗

Retrieves a single dial by ID along with associated memberships. Only the dial owner & members can see a dial. Returns ENOTFOUND if dial does not exist or user does not have permission to view it.

(ctx context.Context, id int)

Source from the content-addressed store, hash-verified

84 // the dial owner & members can see a dial. Returns ENOTFOUND if dial does
85 // not exist or user does not have permission to view it.
86 FindDialByID(ctx context.Context, id int) (*Dial, error)
87
88 // Retrieves a list of dials based on a filter. Only returns dials that
89 // the user owns or is a member of. Also returns a count of total matching

Callers 4

RunMethod · 0.95
handleDialViewMethod · 0.65
handleDialEditMethod · 0.65
MustFindDialByIDFunction · 0.65

Implementers 3

DialServicehttp/dial.go
DialServicemock/dial.go
DialServicesqlite/dial.go

Calls

no outgoing calls

Tested by 1

MustFindDialByIDFunction · 0.52