Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GDriveViewsGetter ¶
type GDriveViewsGetter struct {
// contains filtered or unexported fields
}
func New ¶
func New(client *http.Client, gDriveId string, storage *file_storage.FileStorage) *GDriveViewsGetter
func (*GDriveViewsGetter) GetGdriveDocViews ¶
func (v *GDriveViewsGetter) GetGdriveDocViews(filename string, startTime *time.Time) ([]*GdriveViewEvent, error)
GetGdriveDocViews fetches View events from the Google Reports API
func (*GDriveViewsGetter) LoadFromFile ¶
func (v *GDriveViewsGetter) LoadFromFile(filename string) ([]*GdriveViewEvent, error)
Click to show internal directories.
Click to hide internal directories.