package
1.0.1
Repository: https://github.com/juju/terms-client.git
Documentation: pkg.go.dev

# Structs

Agreement holds a single agreement made by the user to a specific revision of terms and conditions document.
AgreementRequest holds the parameters for creating a new user agreement to a specific revision of terms.
AgreementResponse holds the a single agreement made by the user to a specific revision of terms and conditions document.
Agreements holds multiple agreements peformed in a single request.
CheckAgreementsRequest holds a slice of terms and the /v1/agreement endpoint will check if the user has agreed to the specified terms and return a slice of terms the user has not agreed to yet.
CheckResult holds the result of a single status check.
DebugStatusResponse contains results of various checks that form the status of the terms service.
GetTermsResponse holds the response of the GetTerms call.
SaveAgreement holds the parameters for creating a new user agreement to a specific revision of terms.
SaveAgreementResponses holds the response of the SaveAgreement call.
SaveAgreements holds the parameters for creating new user agreements to one or more specific revisions of terms.
SaveTerm structure contains the content of the terms document to be saved.
Term contains the terms and conditions document structure.
TermIDResponse contains just the termID.

# Type aliases

Terms stores a sortable slice of terms.
TimeRFC3339 represents a time, which is marshaled and unmarshaled using the RFC3339 format.