8000 GitHub - udhos/a10-go-rest-client: Go golang API rest client for A10 Networks devices
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

udhos/a10-go-rest-client

8000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

license GoDoc Go Report Card

a10-go-rest-client

A10 golang rest client

Build

git clone https://github.com/udhos/a10-go-rest-client ;# clone outside of GOPATH
cd a10-go-rest-client
go test ./a10go
go install ./a10go
go install ./examples/...

Usage

import "github.com/udhos/a10-go-rest-client/a10go"

// (...)

options := a10go.Options{Debug: true} // client options
c := a10go.New(host, options) // create api client

errLogin := c.Login(user, pass) // open session
if errLogin != nil {
    fmt.Printf("login failure: %v", errLogin)
    return
}
vServers := c.VirtualServerList()

c.Logout() // close session

See GoDoc: http://godoc.org/github.com/udhos/a10-go-rest-client/a10go

See examples:

About

Go golang API rest client for A10 Networks devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0