Skip to content

Commit b90b6ff

Browse files
authored
Merge pull request #38 from gatewayd-io/js-plugin
JS plugin doc
2 parents 7ea36a7 + 4fa2028 commit b90b6ff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+160
-45
lines changed

.vale/Vocab/accept.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,5 @@ gatewayd
8989
frontmatter
9090
startTimeout
9191
tls_connections
92+
Goja
93+
stringified

developing-plugins/grpc-api-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-19 14:31:13 +0100
2+
last_modified_date: 2023-12-04 12:41:05 +0100
33
layout: default
44
title: gRPC API Reference
55
description: GatewayD exposes a gRPC API that can be used to interact with the GatewayD plugin system. This API can be used by the GatewayD plugins and is available in the GatewayD SDK.

developing-plugins/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-19 14:31:13 +0100
2+
last_modified_date: 2023-12-04 12:41:05 +0100
33
layout: default
44
title: Developing Plugins
55
nav_order: 4

developing-plugins/plugin-developers-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-19 14:31:13 +0100
2+
last_modified_date: 2023-12-04 12:41:05 +0100
33
layout: default
44
title: Plugin Developers Guide
55
description: Plugin developers' guide of GatewayD

developing-plugins/sdk-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-19 14:31:13 +0100
2+
last_modified_date: 2023-12-04 12:41:05 +0100
33
layout: default
44
title: SDK Reference
55
description: The GatewayD plugin SDK provides a number of interfaces, structs and methods to help you build your plugin.

developing-plugins/template-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-19 14:31:13 +0100
2+
last_modified_date: 2023-12-04 12:41:05 +0100
33
layout: default
44
title: Template Projects
55
description: Template projects can be used to quickly get started with developing plugins.

getting-started/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-19 14:31:13 +0100
2+
last_modified_date: 2023-12-04 12:41:05 +0100
33
layout: default
44
title: Getting Started
55
nav_order: 1

getting-started/installation.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-19 20:02:20 +0100
2+
last_modified_date: 2023-12-04 12:41:05 +0100
33
layout: default
44
title: Installation
55
description: How to install GatewayD and its plugins on different platforms and how to build it from source.
@@ -21,19 +21,28 @@ GatewayD releases are available as standalone binaries for Linux, Windows and ma
2121

2222
Download and extract the archive for your platform, then place the `gatewayd(.exe)` binary in your `PATH` to run it from any location. The [`gatewayd.yaml`](/using-gatewayd/configuration#global-configuration) and [`gatewayd_plugins.yaml`](/using-gatewayd/configuration#plugins-configuration) configuration files are located next to the gatewayd binary in the downloaded archive. These are the default global and plugins configuration files for GatewayD. Extract them to your desired location and use them as a starting point for your configuration.
2323

24-
For Unix-like systems, you can use the following commands to download and extract the archive:
24+
For Linux-based distributions, you can use the following commands to download and extract the archive:
2525

2626
```bash
2727
curl -L https://github.com/gatewayd-io/gatewayd/releases/download/{% github_latest_release gatewayd-io/gatewayd %}/gatewayd-linux-amd64-{% github_latest_release gatewayd-io/gatewayd %}.tar.gz | tar zxvf -
2828
```
2929

30+
For macOS, you can use the following commands to download and extract the archive:
31+
32+
```bash
33+
curl -L https://github.com/gatewayd-io/gatewayd/releases/download/{% github_latest_release gatewayd-io/gatewayd %}/gatewayd-darwin-amd64-{% github_latest_release gatewayd-io/gatewayd %}.tar.gz | tar zxvf -
34+
```
35+
3036
For Windows, you can use the following commands to download and extract the archive:
3137

3238
```bash
3339
curl -L https://github.com/gatewayd-io/gatewayd/releases/download/{% github_latest_release gatewayd-io/gatewayd %}/gatewayd-windows-amd64-{% github_latest_release gatewayd-io/gatewayd %}.zip -o gatewayd-windows-amd64-{% github_latest_release gatewayd-io/gatewayd %}.zip
3440
unzip gatewayd-windows-amd64-{% github_latest_release gatewayd-io/gatewayd %}.zip -d gatewayd
3541
```
3642

43+
{: .note }
44+
> Note that the above commands download the latest release of GatewayD for `amd64` architecture. To download the latest (or a specific) release of GatewayD for `arm64` architecture, replace `amd64` with `arm64` in the above commands and replace the version number in the URL with the desired version number. It is always recommended to use the latest release of GatewayD and its plugins.
45+
3746
### APT and RPM packages
3847

3948
Alternatively, GatewayD is available as APT and RPM packages for Linux distributions. These packages include the `gatewayd` binary and the default global and plugins configuration files. The `gatewayd` binary will be installed in `/usr/bin/gatewayd` and the configuration files will be installed in `/etc` as `/etc/gatewayd.yaml` and `/etc/gatewayd_plugins.yaml`.

getting-started/running-gatewayd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-19 22:37:03 +0100
2+
last_modified_date: 2023-12-27 01:19:35 +0330
33
layout: default
44
title: Running GatewayD
55
description: How to run GatewayD and test it with psql

getting-started/welcome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_modified_date: 2023-11-19 14:31:13 +0100
2+
last_modified_date: 2023-12-04 12:41:05 +0100
33
layout: default
44
title: Welcome
55
description: Introduction to GatewayD and its key features

0 commit comments

Comments
 (0)