Documentation
¶
Index ¶
- type API
- func (a *API) ListBuckets() (response apiresponse.V1BucketsGET, err error)
- func (a *API) Seed() (response apiresponse.V1SeedPOST, err error)
- func (a *API) UploadDocument(bucket string, file_header *multipart.FileHeader) (apiresponse.V1DocumentPOST, error)
- func (a *API) UploadDocuments(bucketName string, fileHeaders ...*multipart.FileHeader) (response apiresponse.V1DocumentsPOST, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
Voki *voki.Voki
}
func NewFromViper ¶ added in v0.37.0
NewFromViper returns a pointer to a new API object, provided the configuration options are managed by https://git.agecem.com/agecem/agecem-org/config
func (*API) ListBuckets ¶ added in v0.31.4
func (a *API) ListBuckets() (response apiresponse.V1BucketsGET, err error)
func (*API) Seed ¶ added in v0.40.0
func (a *API) Seed() (response apiresponse.V1SeedPOST, err error)
func (*API) UploadDocument ¶
func (a *API) UploadDocument(bucket string, file_header *multipart.FileHeader) (apiresponse.V1DocumentPOST, error)
func (*API) UploadDocuments ¶ added in v1.1.0
func (a *API) UploadDocuments(bucketName string, fileHeaders ...*multipart.FileHeader) (response apiresponse.V1DocumentsPOST, err error)
Click to show internal directories.
Click to hide internal directories.