package dsn
import "github.com/ydb-platform/ydb-go-sdk/v3/dsn"
Index ¶
- func RegisterParser(param string, parser func(value string) ([]config.Option, error)) (err error)
- type DSN
Functions ¶
func RegisterParser ¶
Types ¶
type DSN ¶
type DSN interface { fmt.Stringer // WithSecure makes new DSN from current DSN with passed secure flag WithSecure(secure bool) DSN }
DSN helps to make connection string from separated endpoint and database
func New ¶
New makes secured DSN with endpoint and database
Source Files ¶
- Version
- v3.19.0
- Published
- Apr 8, 2022
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- 9 seconds ago –
Tools for package owners.