 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func GetDatabaseVersion(ctx context.Context, projectRef string) (string, error)
- func GetGotrueVersion(ctx context.Context, projectRef string) (string, error)
- func GetJsonResponse[T any](ctx context.Context, url, apiKey string) (*T, error)
- func GetPostgrestVersion(ctx context.Context, projectRef string) (string, error)
- func GetStorageVersion(ctx context.Context, projectRef string) (string, error)
- func GetTextResponse(ctx context.Context, url, apiKey string) (string, error)
- func JsonResponseWithBearer[T any](ctx context.Context, method, url, token string, reqBody any) (*T, error)
- type ApiKey
- type HealthResponse
- type SwaggerInfo
- type SwaggerResponse
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	ErrAuthToken = errors.New("Authorization failed for the access token and project ref pair")
)
    Functions ¶
func GetDatabaseVersion ¶ added in v1.126.0
func GetGotrueVersion ¶
func GetJsonResponse ¶
func GetPostgrestVersion ¶
func GetStorageVersion ¶ added in v1.103.0
func GetTextResponse ¶ added in v1.103.0
Types ¶
type HealthResponse ¶
type SwaggerInfo ¶
type SwaggerResponse ¶
type SwaggerResponse struct {
	Swagger string      `json:"swagger"`
	Info    SwaggerInfo `json:"info"`
}
     Click to show internal directories. 
   Click to hide internal directories.