Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Gctx0 Client

Go client for the Actx0 platform.

Install

go get github.com/Actx0/Gctx0

Usage

package main

import (
	"context"

	"github.com/Actx0/Gctx0"
)

func main() {
	client := gctx0.NewKnowledge(
		gctx0.WithAccessKey("your-access-key"),
		gctx0.WithWorkspaceId("your-workspace-id"),
	)
	defer client.Close()

	_, _ = client.List(context.Background(), 50, 0)
}

Or use the full client when you need multiple API areas:

client := gctx0.NewClient(
	gctx0.WithAccessKey("your-access-key"),
	gctx0.WithWorkspaceId("your-workspace-id"),
)
defer client.Close()

_, _ = client.Health(context.Background())
_, _ = client.Knowledge.List(context.Background(), 50, 0)

Development

go test ./...
go build ./examples/...

About

Golang Client for Actx0 Platform.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages