Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketService ¶
type BucketService struct {
// contains filtered or unexported fields
}
func (*BucketService) Delete ¶
func (s *BucketService) Delete(bucketID string) error
func (*BucketService) List ¶
func (s *BucketService) List() ([]Bucket, error)
type Client ¶
type Client struct { BaseURL *url.URL AuthKey *btcec.PrivateKey Keys KeyService Files FileService Tokens TokenService Buckets BucketService Contacts ContactService // contains filtered or unexported fields }
func (*Client) LoadAuthKey ¶
type ContactService ¶
type ContactService struct {
// contains filtered or unexported fields
}
func (*ContactService) List ¶
func (s *ContactService) List() ([]Contact, error)
type FilePointer ¶
type FileService ¶
type FileService struct {
// contains filtered or unexported fields
}
func (*FileService) Delete ¶
func (s *FileService) Delete(bucketID, fileID string) error
func (*FileService) ListPointers ¶
func (s *FileService) ListPointers(bucketID, fileID, token string) ([]FilePointer, error)
type KeyService ¶
type KeyService struct {
// contains filtered or unexported fields
}
func (*KeyService) Delete ¶
func (s *KeyService) Delete(key string) error
func (*KeyService) List ¶
func (s *KeyService) List() ([]Key, error)
func (*KeyService) Register ¶
func (s *KeyService) Register(key string) error
type TokenService ¶
type TokenService struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.