modulepackage
0.0.0-20190319200106-f7ffe9b5febe
Repository: https://github.com/gferraro/go-api.git
Documentation: pkg.go.dev
# README
go-api
Client for the Cacophony API server.
# Functions
IsPermanentError examines the supplied error and returns true if it is permanent.
createAPI creates a CacophonyAPI instance and obtains a fresh JSON Web Token.
NewAPIFromConfig prases the supplied configFile and creates a new CacophonyAPI with the configFile information and saves the generated password to privConfigFileName(configFile).
No description provided by the author
ParseConfig takes supplied bytes and returns a parsed Config struct.
ParseConfig takes supplied filename and returns a parsed Config struct.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error is returned by API calling methods.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author