Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultDocumentsClient ¶
type DefaultDocumentsClient struct {
// contains filtered or unexported fields
}
DefaultDocumentsClient defines the default and basic handler to manage actions with the Google Documents API
func NewDefaultDocumentsClient ¶
func NewDefaultDocumentsClient( authHandler auth.AuthHandler, ) (*DefaultDocumentsClient, error)
NewDefaultDocumentsClient creates a new instance of DefaultDocumentsClient
func (*DefaultDocumentsClient) MergeData ¶
func (d *DefaultDocumentsClient) MergeData( ctx context.Context, req *messages.MergeDataRequest, ) (*messages.MergeDataResponse, error)
MergeData puts data into the document according to references
type DefaultDriveClient ¶
type DefaultDriveClient struct {
// contains filtered or unexported fields
}
DefaultDriveClient defines the default and basic handler to manage actions with the Google Drive API
func NewDefaultDriveClient ¶
func NewDefaultDriveClient( authHandler auth.AuthHandler, ) (*DefaultDriveClient, error)
NewDefaultDriveClient creates a new instance of DefaultDriveClient
func (*DefaultDriveClient) CopyFile ¶
func (d *DefaultDriveClient) CopyFile( ctx context.Context, req *messages.CopyFileRequest, ) (*messages.CopyFileResponse, error)
CopyFile copies a file in the output folder with a specific name It returns the id of the copied file
type DocumentsClient ¶
type DocumentsClient interface { // MergeData puts data into the document according to references MergeData( context.Context, *messages.MergeDataRequest, ) (*messages.MergeDataResponse, error) }
DocumentsClient allows interaction with the Google Documents API
type DriveClient ¶
type DriveClient interface { // CopyFile copies a file in the output folder with a specific name // It returns the id of the copied file CopyFile( context.Context, *messages.CopyFileRequest, ) (*messages.CopyFileResponse, error) }
DriveClient allows interaction with the Google Drive API