package
0.1.21
Repository: https://github.com/thestormforge/optimize-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

CanonicalLinkRelation returns the supplied link relation name normalized for previously accepted values.
FromFloat64 returns the supplied value as a NumberOrString.
FromInt64 returns the supplied value as a NumberOrString.
FromNumber returns the supplied value as a NumberOrString.
FromString returns the supplied value as a NumberOrString.
FromValue returns the supplied value as a NumberOrString based on an attempt to parse the supplied value as an int or float.
IsUnauthorized checks to see if the error is an "unauthorized" error.
NewClient returns a new client for accessing API server.
NewError returns a new error with an API specific error condition, it also captures the details of the response.
NewUnexpectedError returns an error in situations where the API returned an undocumented status for the requested resource.
UnmarshalJSON extracts the supplied JSON, preserving the "_metadata" field if necessary.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Error represents the API specific error messages and may be used in response to HTTP status codes.
NumberOrString is value that can be a JSON number or string.

# Interfaces

Client is used to handle interactions with the API Server.

# Type aliases

Duration is an alternate duration type that marshals as a JSON string.
ErrorType is an identifying token for errors.
IndexQuery represents the query parameter of an index resource.
Metadata is used to hold single or multi-value metadata from list responses.