google

package
v1.26.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 6 Imported by: 0

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

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

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

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL