package dsn
import "github.com/ydb-platform/ydb-go-sdk/v3/dsn"
Index ¶
- func Make(endpoint, database string, opts ...option) (s string)
- func RegisterParser(param string, parser func(value string) ([]config.Option, error)) (err error)
- func WithSecure(secure bool) option
Functions ¶
func Make ¶
Make makes connection string by endpoint, database and options
Options provides additional parameters of DSN
func RegisterParser ¶
func WithSecure ¶
func WithSecure(secure bool) option
WithSecure changes default secure flag
Source Files ¶
- Version
- v3.21.0-rc1
- Published
- Apr 18, 2022
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- 1 minute ago –
Tools for package owners.