Documentation
¶
Index ¶
- type Annotations
- type Areas
- type Author
- type CertSubject
- type DocMetadata
- type Document
- type DocumentInfo
- type Field
- type ImgMetadata
- type Pdf
- type PreviewImages
- type Schema
- type Sign
- type SignIn
- type Signer
- type Submitter
- type Template
- type TimeStamp
- type TrustCert
- type TrustCerts
- type TrustedIssuer
- type User
- type UserRole
- type Verify
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotations ¶
type Annotations struct { Type string `json:"type"` Value string `json:"value"` Page int `json:"page"` X float64 `json:"x"` Y float64 `json:"y"` W float64 `json:"w"` H float64 `json:"z"` }
Annotations is ...
type Areas ¶
type Areas struct { AttachmentID string `json:"attachment_id"` Page int `json:"page"` X float64 `json:"x"` Y float64 `json:"y"` W float64 `json:"w"` H float64 `json:"z"` }
Areas is ...
type Author ¶
type Author struct { ID string `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` }
Author is ...
type CertSubject ¶
type CertSubject struct { Organization string `json:"organization"` CommonName string `json:"common_name"` }
CertSubject is ...
type DocMetadata ¶
type DocMetadata struct { Analyzed bool `json:"analyzed,omitempty"` Pdf Pdf `json:"pdf"` Sha256 string `json:"sha256,omitempty"` }
DocMetadata is ...
type Document ¶
type Document struct { ID string `json:"id"` URL string `json:"url"` FileName string `json:"filename,omitempty"` Metadata DocMetadata `json:"metadata"` PreviewImages []PreviewImages `json:"preview_images"` CreatedAt time.Time `json:"created_at"` }
Document is ...
type DocumentInfo ¶
DocumentInfo is ...
type Field ¶
type Field struct { ID string `json:"id"` SubmitterID string `json:"submitter_id"` Name string `json:"name"` Type string `json:"type"` Required bool `json:"required"` Areas []*Areas `json:"areas,omitempty"` }
Field is ...
type ImgMetadata ¶
type ImgMetadata struct { Analyzed bool `json:"analyzed,omitempty"` Identified bool `json:"identified,omitempty"` Width int `json:"width"` Height int `json:"height"` }
ImgMetadata is ...
type Pdf ¶
type Pdf struct { Annotations []*Annotations `json:"annotations,omitempty"` NumberOfPages int `json:"number_of_pages"` }
Pdf os ...
type PreviewImages ¶
type PreviewImages struct { ID string `json:"id"` RecordType string `json:"record_type,omitempty"` RecordID string `json:"record_id,omitempty"` BlobID string `json:"blob_id,omitempty"` Metadata ImgMetadata `json:"metadata"` FileName string `json:"filename"` }
PreviewImages is ...
type Sign ¶
type Sign struct { Error string `json:"error,omitempty"` FileName string `json:"file_name,omitempty"` FileNameSigned string `json:"file_name_signed,omitempty"` }
Sign is ...
type Signer ¶
type Signer struct { Name string `json:"name"` Reason string `json:"reason"` ValidSignature bool `json:"valid_signature"` TrustedIssuer TrustedIssuer `json:"trusted_issuer"` CertSubject *CertSubject `json:"cert_subject"` SigFormat string `json:"sig_format"` RevokedCertificate bool `json:"revoked_certificate"` TimeStamp *TimeStamp `json:"time_stamp"` }
Signer is ...
type Template ¶
type Template struct { ID string `json:"id"` FolderID string `json:"folder_id"` Slug string `json:"slug"` Name string `json:"name"` Source string `json:"source,omitempty"` Author *Author `json:"author,omitempty"` Submitters []Submitter `json:"submitters"` Fields []Field `json:"fields"` Schema []Schema `json:"schema"` Documents []Document `json:"documents"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` ArchivedAt *time.Time `json:"archived_at,omitempty"` }
Template is ...
type TrustCert ¶
type TrustCert struct { List string `json:"list"` Name string `json:"name"` AKI string `json:"aki"` SKI string `json:"ski"` CreatedAt *time.Time `json:"created,omitempty"` }
TrustCert is ...
type TrustedIssuer ¶
type TrustedIssuer struct { Valid bool `json:"valid"` List string `json:"list"` Name string `json:"name"` }
TrustedIssuer is ...
type User ¶
type User struct { ID string `json:"id"` Name string `json:"name"` Email string `json:"email"` Password string `json:"password"` CreatedAt time.Time }
User is ...
Click to show internal directories.
Click to hide internal directories.