Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions site/pro-source/config-fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -1543,36 +1543,36 @@
{
"name": "pgstore.StoreConfig",
"file": "execution/pgstore/store.go",
"line": 53,
"line": 55,
"doc": "StoreConfig selects a schema and optionally binds an instance to one namespace.\nNamespace, when supplied, makes New check its persisted shard count and caps\nagainst Limits; Begin must use those same caps.\nWith no Namespace, Begin checks its own Limits against the persisted namespace.\nThe caller's pgx query mode is never changed.\n\nAn earlier caller deadline or cancellation still ends migration first, and\nstatements keep the one-second lock timeout. New validates MigrateTimeout and rejects out-of-range values. New and Store\noperations do not use it as their deadline.",
"fields": [
{
"name": "Schema",
"type": "string",
"doc": "Schema defaults to public; valid identifiers are 1–63 UTF-8 bytes\nwithout NUL or \"$$\". Namespace is optional; when set it is 1–64 UTF-8\nbytes without controls and binds New to the namespace caps.",
"default": "Schema defaults to public; valid identifiers are 1–63 UTF-8 bytes without NUL or \"$$\". Namespace is optional; when set it is 1–64 UTF-8 bytes without controls and binds New to the namespace caps.",
"line": 57
"line": 59
},
{
"name": "Namespace",
"type": "string",
"doc": "Schema defaults to public; valid identifiers are 1–63 UTF-8 bytes\nwithout NUL or \"$$\". Namespace is optional; when set it is 1–64 UTF-8\nbytes without controls and binds New to the namespace caps.",
"default": "Schema defaults to public; valid identifiers are 1–63 UTF-8 bytes without NUL or \"$$\". Namespace is optional; when set it is 1–64 UTF-8 bytes without controls and binds New to the namespace caps.",
"line": 57
"line": 59
},
{
"name": "Limits",
"type": "execution.Limits",
"doc": "Limits selects namespace caps; zero fields select execution.Limits\ndefaults.",
"default": "Limits selects namespace caps; zero fields select execution.Limits defaults.",
"line": 60
"line": 62
},
{
"name": "MigrateTimeout",
"type": "time.Duration",
"doc": "MigrateTimeout bounds all of Migrate: pool acquisition, DDL, catalog\nvalidation and COMMIT. It defaults to 1m; valid range 1s–1h.",
"default": "It defaults to 1m; valid range 1s–1h.",
"line": 63
"line": 65
}
]
},
Expand Down Expand Up @@ -3694,7 +3694,7 @@
"name": "pgstore.New",
"signature": "func New(ctx context.Context, pool *pgxpool.Pool, cfg StoreConfig) (*Store, error)",
"file": "execution/pgstore/store.go",
"line": 542
"line": 568
},
{
"name": "pgstore.NewTxRunner",
Expand Down
12 changes: 6 additions & 6 deletions site/pro-source/pages/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ Install `echo.labstack.com/pro v0.2.0` through `go.labstack.io`. You need Go 1.2

1. Open your `.netrc` file in an editor. On Unix it is `~/.netrc`; Windows uses `%USERPROFILE%\_netrc`. Add the entry below. Replace the organisation slug and token with your own. Keep the value in your credential manager and out of source control, shell history and logs.

```text file=site/pro-source/examples/site-docs/netrc.example
```
```text title="~/.netrc" file=site/pro-source/examples/site-docs/netrc.example
```

2. Restrict the Unix file to its owner:

```sh file=site/pro-source/examples/site-docs/commands.sh#protect-netrc
```
```sh file=site/pro-source/examples/site-docs/commands.sh#protect-netrc
```

3. Configure the private module pattern, then install and verify the pinned version from your application module:

```sh file=site/pro-source/examples/site-docs/commands.sh#install
```
```sh file=site/pro-source/examples/site-docs/commands.sh#install
```

If you already have `GOPRIVATE` patterns, append `echo.labstack.com` to that comma-separated list instead of replacing it. The pattern must include the bare host. If you set `GONOSUMDB` or `GONOPROXY` yourself, append to those lists too.

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-action-id-reused.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 409 and client guidance for admin_action_id_reused.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-action-id-reused` |
| Code | `admin_action_id_reused` |
| HTTP status | 409 |

| HTTP status | English title |
| --- | --- |
| 409 | Conflict |
| HTTP status | 409 Conflict |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-audit-unavailable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 503 and client guidance for admin_audit_unavailable.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-audit-unavailable` |
| Code | `admin_audit_unavailable` |
| HTTP status | 503 |

| HTTP status | English title |
| --- | --- |
| 503 | Service Unavailable |
| HTTP status | 503 Service Unavailable |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-backend-unavailable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 503 and client guidance for admin_backend_unavailable.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-backend-unavailable` |
| Code | `admin_backend_unavailable` |
| HTTP status | 503 |

| HTTP status | English title |
| --- | --- |
| 503 | Service Unavailable |
| HTTP status | 503 Service Unavailable |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-busy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 503 and client guidance for admin_busy.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-busy` |
| Code | `admin_busy` |
| HTTP status | 503 |

| HTTP status | English title |
| --- | --- |
| 503 | Service Unavailable |
| HTTP status | 503 Service Unavailable |

## When it occurs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 422 and client guidance for admin_confirmation_required.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-confirmation-required` |
| Code | `admin_confirmation_required` |
| HTTP status | 422 |

| HTTP status | English title |
| --- | --- |
| 422 | Unprocessable Entity |
| HTTP status | 422 Unprocessable Entity |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-cross-origin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 403 and client guidance for admin_cross_origin.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-cross-origin` |
| Code | `admin_cross_origin` |
| HTTP status | 403 |

| HTTP status | English title |
| --- | --- |
| 403 | Forbidden |
| HTTP status | 403 Forbidden |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-csrf-invalid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 403 and client guidance for admin_csrf_invalid.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-csrf-invalid` |
| Code | `admin_csrf_invalid` |
| HTTP status | 403 |

| HTTP status | English title |
| --- | --- |
| 403 | Forbidden |
| HTTP status | 403 Forbidden |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-forbidden.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 403 and client guidance for admin_forbidden.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-forbidden` |
| Code | `admin_forbidden` |
| HTTP status | 403 |

| HTTP status | English title |
| --- | --- |
| 403 | Forbidden |
| HTTP status | 403 Forbidden |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-in-progress.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 409 and client guidance for admin_in_progress.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-in-progress` |
| Code | `admin_in_progress` |
| HTTP status | 409 |

| HTTP status | English title |
| --- | --- |
| 409 | Conflict |
| HTTP status | 409 Conflict |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-internal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 500 and client guidance for admin_internal.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-internal` |
| Code | `admin_internal` |
| HTTP status | 500 |

| HTTP status | English title |
| --- | --- |
| 500 | Internal Server Error |
| HTTP status | 500 Internal Server Error |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-invalid-request.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 400 and client guidance for admin_invalid_request.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-invalid-request` |
| Code | `admin_invalid_request` |
| HTTP status | 400 |

| HTTP status | English title |
| --- | --- |
| 400 | Bad Request |
| HTTP status | 400 Bad Request |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-method-not-allowed.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 405 and client guidance for admin_method_not_allowed.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-method-not-allowed` |
| Code | `admin_method_not_allowed` |
| HTTP status | 405 |

| HTTP status | English title |
| --- | --- |
| 405 | Method Not Allowed |
| HTTP status | 405 Method Not Allowed |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-not-found.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 404 and client guidance for admin_not_found.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-not-found` |
| Code | `admin_not_found` |
| HTTP status | 404 |

| HTTP status | English title |
| --- | --- |
| 404 | Not Found |
| HTTP status | 404 Not Found |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-not-ready.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 503 and client guidance for admin_not_ready.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-not-ready` |
| Code | `admin_not_ready` |
| HTTP status | 503 |

| HTTP status | English title |
| --- | --- |
| 503 | Service Unavailable |
| HTTP status | 503 Service Unavailable |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-rate-limited.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 429 and client guidance for admin_rate_limited.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-rate-limited` |
| Code | `admin_rate_limited` |
| HTTP status | 429 |

| HTTP status | English title |
| --- | --- |
| 429 | Too Many Requests |
| HTTP status | 429 Too Many Requests |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-reason-required.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 422 and client guidance for admin_reason_required.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-reason-required` |
| Code | `admin_reason_required` |
| HTTP status | 422 |

| HTTP status | English title |
| --- | --- |
| 422 | Unprocessable Entity |
| HTTP status | 422 Unprocessable Entity |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-selection-required.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 400 and client guidance for admin_selection_required.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-selection-required` |
| Code | `admin_selection_required` |
| HTTP status | 400 |

| HTTP status | English title |
| --- | --- |
| 400 | Bad Request |
| HTTP status | 400 Bad Request |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-timeout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 504 and client guidance for admin_timeout.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-timeout` |
| Code | `admin_timeout` |
| HTTP status | 504 |

| HTTP status | English title |
| --- | --- |
| 504 | Gateway Timeout |
| HTTP status | 504 Gateway Timeout |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/admin-unauthenticated.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 401 and client guidance for admin_unauthenticated.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/admin-unauthenticated` |
| Code | `admin_unauthenticated` |
| HTTP status | 401 |

| HTTP status | English title |
| --- | --- |
| 401 | Unauthorized |
| HTTP status | 401 Unauthorized |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/binding-failed.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 400 and client guidance for binding_failed.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/binding-failed` |
| Code | `binding_failed` |
| HTTP status | 400 |

| HTTP status | English title |
| --- | --- |
| 400 | Bad Request |
| HTTP status | 400 Bad Request |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/body-too-large.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 413 and client guidance for body_too_large.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/body-too-large` |
| Code | `body_too_large` |
| HTTP status | 413 |

| HTTP status | English title |
| --- | --- |
| 413 | Request Entity Too Large |
| HTTP status | 413 Request Entity Too Large |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/cost-exceeds-limit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 403 and client guidance for cost_exceeds_limit.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/cost-exceeds-limit` |
| Code | `cost_exceeds_limit` |
| HTTP status | 403 |

| HTTP status | English title |
| --- | --- |
| 403 | Request cost exceeds the plan's limit |
| HTTP status | 403 Request cost exceeds the plan's limit |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/credit-conflict.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 409 and client guidance for credit_conflict.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/credit-conflict` |
| Code | `credit_conflict` |
| HTTP status | 409 |

| HTTP status | English title |
| --- | --- |
| 409 | Credit ID was already used with a different amount |
| HTTP status | 409 Credit ID was already used with a different amount |

## When it occurs

Expand Down
6 changes: 1 addition & 5 deletions site/pro-source/pages/problems/execution-capacity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ description: HTTP 503 and client guidance for execution_capacity.
| --- | --- |
| Type URI | `https://echo.labstack.com/pro/problems/execution-capacity` |
| Code | `execution_capacity` |
| HTTP status | 503 |

| HTTP status | English title |
| --- | --- |
| 503 | Service Unavailable |
| HTTP status | 503 Service Unavailable |

## When it occurs

Expand Down
Loading
Loading