Skip to content

kowabunga-cloud/kowabunga-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kowabunga

Official Kowabunga SDK for Go

This is official Go SDK for Kowabunga API.

License: Apache License, Version 2.0 go.dev Build Status

Current Releases

Project Release Badge
Kowabunga Kowabunga Release
Kowabunga Go SDK Kowabunga Go SDK Release

Installation

kowabunga-go can be installed like any other Go library through go get:

$ go get github.com/kowabunga-cloud/kowabunga-go@latest

Check out the list of released versions.

Configuration

To use kowabunga-go, you’ll need to import the kowabunga-go package:

import kowabunga "github.com/kowabunga-cloud/kowabunga-go"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Usage

Creating an API client can be done by:

var client *kowabunga.APIClient

u, _ := url.Parse(uri)

cfg := kowabunga.NewConfiguration()
cfg.Host = u.Host
cfg.Scheme = u.Scheme
cfg.AddDefaultHeader("X-API-Key", token)

client = kowabunga.NewAPIClient(cfg), nil

where uri is https://your_kowabunga_kahuna_server and token is the associated API key.

Documentation for API

Refer to API documentation

License

Licensed under Apache License, Version 2.0, see LICENSE.

About

Official Go SDK for Kowabunga

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors