schemaClient

package
v0.0.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaClientBound

type SchemaClientBound struct {
	// contains filtered or unexported fields
}

func NewSchemaClientBound

func NewSchemaClientBound(s *sdcpb.Schema, sc schema.Client) *SchemaClientBound

func (*SchemaClientBound) GetSchema

func (scb *SchemaClientBound) GetSchema(ctx context.Context, path *sdcpb.Path) (*sdcpb.GetSchemaResponse, error)

GetSchema retrieves the schema for the given path

func (*SchemaClientBound) GetSchemaElements

func (scb *SchemaClientBound) GetSchemaElements(ctx context.Context, p *sdcpb.Path, done chan struct{}) (chan *sdcpb.GetSchemaResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL