MCPcopy
hub / github.com/authgear/authgear-server / PlanServiceGlobalDatabase

Interface PlanServiceGlobalDatabase

pkg/siteadmin/service/plan.go:16–19  ·  view source on GitHub ↗

Narrow interfaces

Source from the content-addressed store, hash-verified

14// Narrow interfaces
15
16type PlanServiceGlobalDatabase interface {
17 WithTx(ctx context.Context, do func(ctx context.Context) error) error
18 ReadOnly(ctx context.Context, do func(ctx context.Context) error) error
19}
20
21type PlanServicePlanStore interface {
22 GetPlan(ctx context.Context, name string) (*plan.Plan, error)

Callers 2

ChangeAppPlanMethod · 0.65
ListPlansMethod · 0.65

Implementers 7

MockHandlepkg/lib/infra/db/mock_handle.go
HookHandlepkg/lib/infra/db/hook_handle.go
MockServiceDatabasepkg/lib/authenticationflow/service_moc
MockServiceDatabaseMockRecorderpkg/lib/authenticationflow/service_moc
MockServiceDatabasepkg/lib/workflow/service_mock_test.go
MockServiceDatabaseMockRecorderpkg/lib/workflow/service_mock_test.go
fakeDatabasepkg/siteadmin/service/app_test.go

Calls

no outgoing calls

Tested by

no test coverage detected