Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadClient ¶
type DownloadClient struct {
// contains filtered or unexported fields
}
func NewDownloadClient ¶
func NewDownloadClient(target string) (*DownloadClient, error)
func (*DownloadClient) Download ¶
func (c *DownloadClient) Download(key string) (*paste_download.DownloadResponse, error)
type KeyGeneratorClient ¶
type KeyGeneratorClient struct {
// contains filtered or unexported fields
}
KeyGeneratorClient wraps the generated gRPC client for easier use.
func NewKeyGeneratorClient ¶
func NewKeyGeneratorClient(target string) (*KeyGeneratorClient, error)
NewKeyGeneratorClient creates a new KeyGeneratorClient and establishes a connection to the given target.
type UploadClient ¶
type UploadClient struct {
// contains filtered or unexported fields
}
func NewUploadClient ¶
func NewUploadClient(target string) (*UploadClient, error)
Creates a new UploadClient and establishes a connection to the gRPC server
Click to show internal directories.
Click to hide internal directories.