package
0.69.0
Repository: https://github.com/cisco-open/fsoc.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
HTTPGet performs a GET request with HTTP command and response - Accept and Content-Type headers are provided by the caller.
HTTPPost performs a POST request with HTTP command and response - Accept and Content-Type headers are provided by the caller.
JSONDelete performs a DELETE request and parses the response as JSON.
JSONGet performs a GET request and parses the response as JSON.
JSONGetCollection performs a GET request and parses the response as JSON, handling pagination per https://www.rfc-editor.org/rfc/rfc5988, https://developer.cisco.com/api-guidelines/#rest-style/API.REST.STYLE.25 and https://developer.cisco.com/api-guidelines/#rest-style/API.REST.STYLE.24.
JSONPatch performs a PATCH request and parses the response as JSON.
JSONPost performs a POST request with JSON command and response.
JSONPut performs a PUT request with JSON command and response.
JSONRequest performs an HTTP request and parses the response as JSON, allowing the http method to be specified.
Login performs a login into the platform API and saves the provided access token.
NewVersion parses a string value into an API version, ensuring that the string matches the required pattern.
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author

# Structs

CollectionResult is a structure that wraps API collections of type T.
No description provided by the author
Options contains extra, optional parameters that modify the API call behavior.
Problem type is a json object returned for content-type application/problem+json according to the RFC-7807.

# Type aliases

Version defines an API version, as used in URI paths.