Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DSNOption ¶
type DSNOption func(*FirestoreDSN)
DSNOption defines a function that configures a FirestoreDSN.
func WithDatabase ¶
WithDatabase sets the database for the DSN.
type FirestoreDSN ¶
func NewDSN ¶
func NewDSN(projectID string, opts ...DSNOption) *FirestoreDSN
NewDSN creates a new FirestoreDSN with the given options.
func (FirestoreDSN) DSN ¶
func (f FirestoreDSN) DSN() string
func (*FirestoreDSN) Info ¶
func (f *FirestoreDSN) Info() string
Info implements database.DataSourceNamer.
func (FirestoreDSN) Type ¶
func (f FirestoreDSN) Type() database.Type
Type implements database.DataSourceNamer.
Click to show internal directories.
Click to hide internal directories.