All URIs are relative to https://api.lab5e.com
Method | HTTP request | Description |
---|---|---|
GetSystemInfo | Get /span/system | System information |
SystemInfoResponse GetSystemInfo(ctx).Execute()
System information
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/lab5e/go-spanapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SpanApi.GetSystemInfo(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SpanApi.GetSystemInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetSystemInfo`: SystemInfoResponse
fmt.Fprintf(os.Stdout, "Response from `SpanApi.GetSystemInfo`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetSystemInfoRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]