package dsn

import "github.com/ydb-platform/ydb-go-sdk/v3/dsn"

Index

Functions

func Make

func Make(endpoint, database string, opts ...option) (s string)

Make makes connection string by endpoint, database and options

Options provides additional parameters of DSN

func RegisterParser

func RegisterParser(param string, parser func(value string) ([]config.Option, error)) (err error)

func WithSecure

func WithSecure(secure bool) option

WithSecure changes default secure flag

Source Files

dsn.go parser.go

Version
v3.21.0-rc1
Published
Apr 18, 2022
Platform
js/wasm
Imports
4 packages
Last checked
25 seconds ago

Tools for package owners.