client

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 3 Imported by: 60

Documentation

Overview

Package client provides grpc API implementation.

Deprecated: client is deprecated use access package instead.

Index

Constants

This section is empty.

Variables

New creates an gRPC client exposing all the common access APIs.

Deprecated: use grpc.NewClient instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md

View Source
var NewFromRPCClient = grpc.NewFromRPCClient

NewFromRPCClient initializes a Flow client using a pre-configured gRPC provider.

Deprecated: use grpc.NewFromRPCClient instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md

Functions

This section is empty.

Types

type BlockEvents deprecated

type BlockEvents = flow.BlockEvents

BlockEvents are the events that occurred in a specific block.

Deprecated: use flow.BlockEvents instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md

type Client deprecated

type Client = grpc.BaseClient

Client is an gRPC client implementing all API access functions.

Deprecated: migrate to access.Client instead or use grpc.BaseClient for grpc specific operations. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md

type EventRangeQuery deprecated

type EventRangeQuery = grpc.EventRangeQuery

EventRangeQuery defines a query for Flow events.

Deprecated: use grpc.EventRangeQuery instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md

type RPCClient deprecated

type RPCClient interface {
	access.AccessAPIClient
}

An RPCClient is an RPC client for the Flow Access API.

Deprecated: use access.client instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md

type RPCError deprecated added in v0.6.0

type RPCError = grpc.RPCError

RPCError is an error returned by an RPC call to an Access API.

Deprecated: use grpc.RPCError instead. Read more in the migration guide: https://github.com/onflow/flow-go-sdk/blob/main/docs/migration-v0.25.0.md

Jump to

Keyboard shortcuts

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