Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveSpannerConfig ¶
func SaveSpannerConfig(config Config)
func SetSpannerConfig ¶
func SetSpannerConfig(w http.ResponseWriter, r *http.Request)
Types ¶
type Config ¶
type Config struct { GCPProjectID string `json:"GCPProjectID"` SpannerInstanceID string `json:"SpannerInstanceID"` }
Config represents Spanner Configuration for Spanner Session Management.
func GetSpannerConfig ¶
func TryInitializeSpannerConfig ¶
func TryInitializeSpannerConfig() Config
type ConfigWithMetadata ¶
Config wiith metadata
Click to show internal directories.
Click to hide internal directories.