Skip to content

About

go client for sibyl

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sibyl Golang Client

Overview

This API client was generated by the OpenAPI Generator project.

install with:

go get -u github.com/opensibyl/sibyl-go-client

use it with:

func Test_openapi_DefaultApiService(t *testing.T) {
    configuration := openapi.NewConfiguration()
    configuration.Scheme = "http"
    configuration.Host = "127.0.0.1:9876"
    apiClient := openapi.NewAPIClient(configuration)
    
    t.Run("Test DefaultApiService ApiV1FileGet", func (t *testing.T) {
        resp, httpRes, err := apiClient.DefaultApi.ApiV1FileGet(context.Background()).Repo("your repo").Rev("your rev").Execute()
        
        require.Nil(t, err)
        require.NotNil(t, resp)
        assert.Equal(t, 200, httpRes.StatusCode)
    })
}

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi ApiV1FileGet Get /api/v1/file file query
DefaultApi ApiV1FuncGet Get /api/v1/func func query
DefaultApi ApiV1FuncctxGet Get /api/v1/funcctx func ctx query
DefaultApi ApiV1MonitorUploadGet Get /api/v1/monitor/upload upload status query
DefaultApi ApiV1RepoGet Get /api/v1/repo repo query
DefaultApi ApiV1RevGet Get /api/v1/rev rev query
DefaultApi PingGet Get /ping ping example

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

About

go client for sibyl

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

⌂ 换网址