Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
JSONCredentials JSONCredentials `yaml:"json_credentials"`
}
func (*Config) ResetToDefault ¶
func (c *Config) ResetToDefault()
type JSONCredentials ¶
type JSONCredentials struct { Type string `json:"type" yaml:"type"` ProjectID string `json:"project_id" yaml:"project_id"` PrivateKeyID string `json:"private_key_id" yaml:"private_key_id"` PrivateKey string `json:"private_key" yaml:"private_key"` ClientEmail string `json:"client_email" yaml:"client_email"` ClientID string `json:"client_id" yaml:"client_id"` AuthURI string `json:"auth_uri" yaml:"auth_uri"` AuthProviderX509CertURL string `json:"auth_provider_x509_cert_url" yaml:"auth_provider_x509_cert_url"` ClientX509CertURL string `json:"client_x509_cert_url" yaml:"client_x509_cert_url"` }
func (*JSONCredentials) AsJSON ¶
func (c *JSONCredentials) AsJSON() []byte
func (*JSONCredentials) ResetToDefault ¶
func (c *JSONCredentials) ResetToDefault()
Click to show internal directories.
Click to hide internal directories.