Versions in this module Expand all Collapse all v1 v1.0.0 Sep 26, 2022 Changes in this version + var ErrNotFound error = fmt.Errorf("Resource not found") + type Endpoint struct + func NewEndpoint(authstring string, location string) (*Endpoint, error) + func (e *Endpoint) NewPublishRequest() *PublishRequest + func (e *Endpoint) Publish(data *PublishRequest) (PublishResponse, error) + func (ep *Endpoint) AvailableVersions() ([]string, error) + type Error struct + Detail string + ErrorType string + Instance string + RequestID int + Title string + func (a Error) Error() string + type Errormessage struct + Code int + Error string + type ProcessStatus struct + Errormessages []Errormessage + Errors int + Finished *time.Time + type PublishFile struct + Contents []byte + Filename string + type PublishRequest struct + Files []PublishFile + Version string + func (p *PublishRequest) AttachFile(pathToFile string) error + type PublishResponse struct + ID string + func (p *PublishResponse) GetPDF(w io.Writer) error + func (p *PublishResponse) Status() (*ProcessStatus, error) + func (p *PublishResponse) Wait() (*ProcessStatus, error)