Versions in this module Expand all Collapse all v0 v0.9.1 Aug 27, 2020 Changes in this version + type AgreementList struct + BeginCreatedOn *time.Time + MinimumPagesRemaining int32 + Page int32 + PageSize int32 + UserAgreements []UserAgreement + type Clickwrap struct + DisplaySettings *DisplaySettings + Documents []Document + ID string + Name string + RequireReacceptance bool + Status string + UserID string + type CreateOp esign.Op + func (op *CreateOp) Do(ctx context.Context) (*Summary, error) + type DisplaySettings struct + BrandID string + ConsentButtonText string + DeclineButtonText string + DisplayName string + DocumentDisplay string + Downloadable bool + Format string + HasAccept bool + HostOrigin string + MustRead bool + MustView bool + RequireAccept bool + SendToEmail bool + Size string + type Document struct + Base64 []byte + FileExt string + Name string + Order int32 + type GetAgreementsOp esign.Op + func (op *GetAgreementsOp) ClientUserID(val string) *GetAgreementsOp + func (op *GetAgreementsOp) Do(ctx context.Context) (*AgreementList, error) + func (op *GetAgreementsOp) Page(val int32) *GetAgreementsOp + type ListOp esign.Op + func (op *ListOp) Do(ctx context.Context) (*Listing, error) + func (op *ListOp) FromDate(val time.Time) *ListOp + func (op *ListOp) Name(val string) *ListOp + func (op *ListOp) Page(val int32) *ListOp + func (op *ListOp) Status(vals ...string) *ListOp + func (op *ListOp) ToDate(val time.Time) *ListOp + func (op *ListOp) VersionNumber(val int32) *ListOp + type Listing struct + Clickwraps []Summary + type Service struct + func New(cred esign.Credential) *Service + func (s *Service) Create(clickwrap *Clickwrap) *CreateOp + func (s *Service) GetAgreements(clickwrapID string) *GetAgreementsOp + func (s *Service) List() *ListOp + func (s *Service) SetAgreement(clickwrapID string, agreement *UserAgreement) *SetAgreementOp + func (s *Service) Update(id string, clickwrap *Clickwrap) *UpdateOp + type SetAgreementOp esign.Op + func (op *SetAgreementOp) Do(ctx context.Context) (*UserAgreement, error) + type Settings struct + DocumentDisplay string + Format string + HostOrigin string + Size string + type Summary struct + CreatedTime *time.Time + ID string + LastModifiedBy string + Name string + RequireReacceptance bool + Status string + VersionNumber int32 + type UpdateOp esign.Op + func (op *UpdateOp) Do(ctx context.Context) (*Summary, error) + type UserAgreement struct + AccountID string + AgreedOn *time.Time + ClickWrapID string + Clickwrap *Clickwrap + ClientUserID string + CreatedOn *time.Time + ID string + Settings *DisplaySettings + URL string