Versions in this module Expand all Collapse all v1 v1.0.0 Jun 10, 2022 Changes in this version + type APIClient struct + Body interface{} + Conf *PixelbinConfig + ContentType string + Method string + Query map[string]string + Url string + func (c *APIClient) Execute() ([]byte, error) + type AccessEnum string + const PRIVATE + const PUBLIC_READ + func (ac AccessEnum) IsValid() error + type AppDetailsByToken struct + App AppSchema + Org OrganizationDetailSchema + type AppSchema struct + Active bool + CreatedAt string + ID float64 + Name string + OrgId float64 + Permissions []string + Token string + UpdatedAt string + type Assets struct + func NewAssets(config *PixelbinConfig) *Assets + func (c *Assets) CreateFolder(p CreateFolderXQuery) (map[string]interface{}, error) + func (c *Assets) CreateSignedUrl(p CreateSignedUrlXQuery) (map[string]interface{}, error) + func (c *Assets) DeleteFile(p DeleteFileXQuery) (map[string]interface{}, error) + func (c *Assets) DeleteFiles(p DeleteFilesXQuery) (map[string]interface{}, error) + func (c *Assets) DeleteFolder(p DeleteFolderXQuery) (map[string]interface{}, error) + func (c *Assets) FileUpload(p FileUploadXQuery) (map[string]interface{}, error) + func (c *Assets) GetFileByFileId(p GetFileByFileIdXQuery) (map[string]interface{}, error) + func (c *Assets) GetFileById(p GetFileByIdXQuery) (map[string]interface{}, error) + func (c *Assets) GetModule(p GetModuleXQuery) (map[string]interface{}, error) + func (c *Assets) GetModules(p GetModulesXQuery) (map[string]interface{}, error) + func (c *Assets) ListFiles(p ListFilesXQuery) (map[string]interface{}, error) + func (c *Assets) UpdateFile(p UpdateFileXQuery) (map[string]interface{}, error) + func (c *Assets) UpdateFolder(p UpdateFolderXQuery) (map[string]interface{}, error) + func (c *Assets) UrlUpload(p UrlUploadXQuery) (map[string]interface{}, error) + type CreateFolderRequest struct + Name string + Path string + type CreateFolderXQuery struct + Name string + Path string + type CreateSignedUrlXQuery struct + Access AccessEnum + FilenameOverride bool + Format string + Metadata map[string]interface{} + Name string + Overwrite bool + Path string + Tags []string + type DeleteFileXQuery struct + FileId string + type DeleteFilesXQuery struct + Ids []string + type DeleteFolderXQuery struct + ID string + type DeleteMultipleFilesRequest struct + Ids []string + type Delimiter struct + OperationSeparator string + ParameterSeparator string + type ErrorSchema struct + Message string + type FileUploadRequest struct + Access AccessEnum + File *os.File + FilenameOverride bool + Metadata map[string]interface{} + Name string + Overwrite bool + Path string + Tags []string + type FileUploadXQuery struct + Access AccessEnum + File *os.File + FilenameOverride bool + Metadata map[string]interface{} + Name string + Overwrite bool + Path string + Tags []string + type FilesResponse struct + Access string + FileId string + Format string + ID string + IsActive bool + Metadata map[string]interface{} + Name string + Path string + Size float64 + Tags []string + Thumbnail string + URL string + type FoldersResponse struct + ID string + IsActive bool + Name string + Path string + type GetAppByTokenXQuery struct + Token string + type GetFileByFileIdXQuery struct + FileId string + type GetFileByIdXQuery struct + ID string + type GetModuleXQuery struct + Identifier string + type GetModulesXQuery struct + type ListFilesResponse struct + Items []exploreItem + Page page + type ListFilesXQuery struct + Format string + Name string + OnlyFiles bool + OnlyFolders bool + PageNo float64 + PageSize float64 + Path string + Sort string + Tags []interface{} + type OAuthClient struct + Config *PixelbinConfig + Token string + func NewOAuthClient(config *PixelbinConfig) *OAuthClient + func (o *OAuthClient) GetAccessToken() string + type Organization struct + func NewOrganization(config *PixelbinConfig) *Organization + func (c *Organization) GetAppByToken(p GetAppByTokenXQuery) (map[string]interface{}, error) + type OrganizationDetailSchema struct + Active bool + CloudName string + CreatedAt string + ID float64 + Name string + OwnerId string + UpdatedAt string + type PixelbinClient struct + Assets *Assets + Config *PixelbinConfig + Organization *Organization + func NewPixelbinClient(config *PixelbinConfig) *PixelbinClient + type PixelbinConfig struct + ApiSecret string + Domain string + OAuthClient *OAuthClient + func NewPixelbinConfig(apiSecret, domain string) *PixelbinConfig + func (p *PixelbinConfig) GetAccessToken() string + func (p *PixelbinConfig) SetOAuthClient() + type PresignedUrl struct + Fields map[string]interface{} + URL string + type SignedUploadRequest struct + Access AccessEnum + FilenameOverride bool + Format string + Metadata map[string]interface{} + Name string + Overwrite bool + Path string + Tags []string + type SignedUploadResponse struct + S3PresignedUrl PresignedUrl + type TransformationModuleResponse struct + Credentials map[string]interface{} + Description string + Enabled bool + Identifier string + Name string + Operations []interface{} + type TransformationModulesResponse struct + Delimiters Delimiter + Plugins map[string]TransformationModuleResponse + Presets []interface{} + type UpdateFileRequest struct + Access string + IsActive bool + Metadata map[string]interface{} + Name string + Path string + Tags []string + type UpdateFileXQuery struct + Access string + FileId string + IsActive bool + Metadata map[string]interface{} + Name string + Path string + Tags []string + type UpdateFolderRequest struct + IsActive bool + type UpdateFolderXQuery struct + FolderId string + IsActive bool + type UploadResponse struct + Access string + FileId string + Format string + ID string + Metadata map[string]interface{} + Name string + Path string + Size float64 + Tags []string + Thumbnail string + URL string + type UrlUploadRequest struct + Access AccessEnum + FilenameOverride bool + Metadata map[string]interface{} + Name string + Overwrite bool + Path string + Tags []string + URL string + type UrlUploadXQuery struct + Access AccessEnum + FilenameOverride bool + Metadata map[string]interface{} + Name string + Overwrite bool + Path string + Tags []string + URL string Other modules containing this package github.com/pixelbin-dev/pixelbin-go/v2