https://github.com/ydb-platform/ydb-go-yc-metadata
https://github.com/ydb-platform/ydb-go-yc-metadata
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ydb-platform/ydb-go-yc-metadata
- Owner: ydb-platform
- License: apache-2.0
- Created: 2022-01-17T11:25:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-24T11:36:51.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T05:04:11.090Z (almost 2 years ago)
- Language: Go
- Size: 44.9 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Authors: AUTHORS
Awesome Lists containing this project
README
# ydb-go-yc-metadata
> helpers to connect to YDB inside yandex-cloud using metadata service
[godoc](https://godoc.org/github.com/ydb-platform/ydb-go-yc-metadata/)
Currently package provides helpers to connect to YDB inside yandex-cloud.
```go
import (
yc "github.com/ydb-platform/ydb-go-yc-metadata"
)
...
db, err := ydb.Open(
ctx,
os.Getenv("YDB_CONNECTION_STRING"),
yc.WithInternalCA(),
yc.WithCredentials(), // auth inside cloud (virtual machine or yandex function)
)
```