Skip to content

tomahawk28/cell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JDSU CellAdvisor RESTful API

JDSU CellAdvisor API by Go Language

CellAdvisor API

GoDoc

RESTful API Implementation

GoDoc

RESTful API Usage

func main(){

 // BuildCellAdvisorRestfulAPI functions get argumets 
 // 1. The number of TCP connections for API
 // 2. CellAdvisor IP 
 // 3. Heartbeat cheking period
 // for example, 

 server := restful.NewCellAdvisorServer(4, "192.168.0.1", time.Second*10)
 http.Handle("/api/", server)
 log.Fatal(http.ListenAndServe(":80", nil))

// Now you could access 
// SCPI command: http://{celladvisorIP}:{port}/api/scpi/{keyp|youch}
// Screen capture http://{celladvisorIP}:{port}/api/screen/{refresh_screen|screen}

}

Maintainer

Ji-hyuk.Bok@jdsu.com

License

MIT

About

JDSU CellAdvisor API by Go Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published