All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
StartLetheand | Get /letheand/start |
StartLetheand(ctx).DataDir(dataDir).Version(version).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
dataDir := "dataDir_example" // string | Returns the binary version
version := true // bool | Returns the binary version (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.VpnApi.StartLetheand(context.Background()).DataDir(dataDir).Version(version).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `VpnApi.StartLetheand``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
Other parameters are passed through a pointer to a apiStartLetheandRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
dataDir | string | Returns the binary version | |
version | bool | Returns the binary version |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]