Documentation ¶
Index ¶
Constants ¶
View Source
const ( Version = `v0.0.1` LicenseText = `` /* 1530-byte string literal not displayed */ )
View Source
const ( AuthNone = iota BasicAuth OAuth Shibboleth )
FIXME: Need to handle Basic auth, OAuth and Shibboleth
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestAPI ¶
type RestAPI struct { // Timeout is the client time out period, default is 10 seconds Timeout time.Duration // contains filtered or unexported fields }
func New ¶
New creates a new Rest Client RestAPI instance If clientID and clientSecret and empty and authType
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
apiexplorer
apiexplorer is a demo program showing how to use and restclient package
|
apiexplorer is a demo program showing how to use and restclient package |
Click to show internal directories.
Click to hide internal directories.