Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
Apply(g *GeneralConfig) error
}
func WithAPIKey ¶
func WithBaseURL ¶
func WithGoogleClientOptions ¶
func WithGoogleClientOptions(options ...option.ClientOption) Config
func WithLocation ¶
func WithProjectID ¶
func WithUseREST ¶
type GeneralConfig ¶
type GeneralConfig struct { APIKey string BaseURL string ProjectID string Location string UseREST bool GoogleClientOptions []option.ClientOption }
func (GeneralConfig) String ¶
func (GeneralConfig) String() string
Click to show internal directories.
Click to hide internal directories.