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.9.4
Published
Feb 11, 2022
Platform
darwin/amd64
Imports
4 packages
Last checked
42 seconds ago

Tools for package owners.