Documentation ¶
Index ¶
Constants ¶
View Source
const (
AppName = "fileshare"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CredentialType ¶
type CredentialType bool
const ( CredentialTypeWeb CredentialType = true CredentialTypeDesktop CredentialType = false )
type GoogleCredentials ¶
type GoogleCredentials struct { ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` ProjectID string `json:"project_id"` }
func LoadGoogleCredentials ¶
func LoadGoogleCredentials(credentialsPath string, tp CredentialType) (GoogleCredentials, error)
Click to show internal directories.
Click to hide internal directories.