package discovery

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

Index

Types

type Client

type Client interface {
	Discover(ctx context.Context) ([]endpoint.Endpoint, error)
	WhoAmI(ctx context.Context) (*WhoAmI, error)
	Close(ctx context.Context) error
}

type WhoAmI

type WhoAmI struct {
	User   string
	Groups []string
}

func (WhoAmI) String

func (w WhoAmI) String() string

Source Files

client.go

Version
v3.8.4
Published
Feb 4, 2022
Platform
js/wasm
Imports
4 packages
Last checked
14 minutes ago

Tools for package owners.