summaryrefslogtreecommitdiff
path: root/docs/src/api/go/example.md
blob: 82baad8d31452f63e5ad18107004fbcbecc0b359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Example with comments
The following is an example [in the repository](https://github.com/eduvpn/eduvpn-common/blob/main/cmd/cli/main.go). It is a command line client with the following flags
```
-get-institute string
  	The url of an institute to connect to
-get-secure string
  	Gets secure internet servers.
-get-secure-all string
  	Gets certificates for all secure internet servers. It stores them in ./certs. Provide an URL for the home server e.g. nl.eduvpn.org.
```
```go
{{#include ../../../../cmd/cli/main.go}}
```