MCPcopy
hub / github.com/sqlc-dev/sqlc / Handler

Interface Handler

internal/ext/handler.go:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type Handler interface {
15 Generate(context.Context, *plugin.GenerateRequest) (*plugin.GenerateResponse, error)
16
17 Invoke(ctx context.Context, method string, args any, reply any, opts ...grpc.CallOption) error
18 NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
19}
20
21type wrapper struct {
22 fn func(context.Context, *plugin.GenerateRequest) (*plugin.GenerateResponse, error)

Callers 8

remoteGenerateFunction · 0.65
GenerateMethod · 0.65
GenerateMethod · 0.65
DropEphemeralDatabaseMethod · 0.65
UploadArchiveMethod · 0.65
VerifyQuerySetsMethod · 0.65
GetQuerySetsMethod · 0.65

Implementers 1

wrapperinternal/ext/handler.go

Calls

no outgoing calls

Tested by

no test coverage detected