Documentation
¶
Overview ¶
Package core provides common functionality that is shared between modules in the Supabase Go SDK.
Consumers rarely import this package directly. The github.com/supabase/supabase-go/core/configuration package carries the client configuration and functional options shared by every domain module, the github.com/supabase/supabase-go/core/pagination package carries the pagination options the listing calls across the domain modules take, and the github.com/supabase/supabase-go/core/responses package carries the HTTP error type that domain error types embed. This root package holds only the ModulePath identity constants that github.com/supabase/supabase-go/core/configuration.New takes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModulePath ¶
type ModulePath string
ModulePath represents a distinct module within the Supabase Go SDK, where that module is capable of emitting telemetry - that is, where that module can have its interactions with the service observed by the service.
const ( // ModulePathRoot is the import path for the Supabase Go SDK's convenience // entry point module, composed of other domain modules. It is the // repository root, and the base of every other module's path. ModulePathRoot ModulePath = "github.com/supabase/supabase-go" // ModulePathPostgrest is the import path for the Supabase Go SDK's PostgREST // client module. ModulePathPostgrest ModulePath = ModulePathRoot + "/postgrest" // ModulePathAuth is the import path for the Supabase Go SDK's Auth client // module. ModulePathAuth ModulePath = ModulePathRoot + "/auth" )
Directories
¶
| Path | Synopsis |
|---|---|
|
Package configuration provides the shared project configuration and functional options that other Supabase domain modules rely upon.
|
Package configuration provides the shared project configuration and functional options that other Supabase domain modules rely upon. |
|
internal
|
|
|
telemetry
Package telemetry provides utilities to provide informative and semantically correct data to Supabase services that helps identify this SDK.
|
Package telemetry provides utilities to provide informative and semantically correct data to Supabase services that helps identify this SDK. |
|
transport
Package transport provides the authenticating HTTP pipeline that other Supabase domain modules are built on.
|
Package transport provides the authenticating HTTP pipeline that other Supabase domain modules are built on. |
|
Package pagination carries the page-numbered pagination vocabulary the SDK's listing calls take: a page number and a page size, expressed as functional options.
|
Package pagination carries the page-numbered pagination vocabulary the SDK's listing calls take: a page number and a page size, expressed as functional options. |
|
Package responses provides shared error types.
|
Package responses provides shared error types. |