summaryrefslogtreecommitdiff
path: root/docs/md/examples.md
blob: 28bfb45e2ab0612e74c3f524687d90ce7989fca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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://codeberg.org/eduvpn/eduvpn-common/src/branch/main/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
{!cmd/cli/main.go!}
```