Versions in this module Expand all Collapse all v1 v1.0.1 Aug 30, 2016 v1.0.0 Aug 29, 2016 Changes in this version + func BaseURL() string + type Client interface + GetTerm func(owner, name string, revision int) (*wireformat.Term, error) + GetUnsignedTerms func(*wireformat.CheckAgreementsRequest) ([]wireformat.GetTermsResponse, error) + GetUsersAgreements func() ([]wireformat.AgreementResponse, error) + Publish func(owner, name string, revision int) (string, error) + SaveAgreement func(*wireformat.SaveAgreements) (*wireformat.SaveAgreementResponses, error) + SaveTerm func(owner, name, content string) (string, error) + func NewClient(options ...ClientOption) (Client, error) + type ClientOption func(h *client) + func HTTPClient(c httpClient) ClientOption + func ServiceURL(serviceURL string) ClientOption Other modules containing this package github.com/juju/terms-client/v2