diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-05-01 14:19:32 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | d4939e8694a6762dc9de2f4027266850f49790ac (patch) | |
| tree | 89545f23dbb74766ed42dd1824c59eae35f26800 /docs/src/api/codeexamples.md | |
| parent | c654b48763592baae78b10f6fefec10be29e979b (diff) | |
Docs: Update API section for V2
Diffstat (limited to 'docs/src/api/codeexamples.md')
| -rw-r--r-- | docs/src/api/codeexamples.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/src/api/codeexamples.md b/docs/src/api/codeexamples.md new file mode 100644 index 0000000..b3bcdc3 --- /dev/null +++ b/docs/src/api/codeexamples.md @@ -0,0 +1,16 @@ +# Code examples +This chapter contains code examples that use the API + +## Go command line client +The following is an example [in the repository](https://github.com/eduvpn/eduvpn-common/blob/v2/cmd/cli/main.go). It is a command line client with the following flags +``` + -get-custom string + The url of a custom server to connect to + -get-institute string + The url of an institute to connect to + -get-secure string + Gets secure internet servers +``` +```go +{{#include ../../../cmd/cli/main.go}} +``` |
