fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/common/providers/context Index | Files

package context

import "github.com/hyperledger/fabric-sdk-go/pkg/common/providers/context"

Index

Package Files

context.go

type Channel Uses

type Channel interface {
    Client
    ChannelService() fab.ChannelService
    ChannelID() string
}

Channel supplies the configuration for channel context client

type ChannelProvider Uses

type ChannelProvider func() (Channel, error)

ChannelProvider returns channel client context

type Client Uses

type Client fab.ClientContext

Client supplies the configuration and signing identity to client objects.

type ClientProvider Uses

type ClientProvider func() (Client, error)

ClientProvider returns client context

type Local Uses

type Local interface {
    Client
    LocalDiscoveryService() fab.DiscoveryService
}

Local supplies the configuration for a local context client

type LocalProvider Uses

type LocalProvider func() (Local, error)

LocalProvider returns local client context

type Providers Uses

type Providers interface {
    core.Providers
    msp.Providers
    fab.Providers
}

Providers represents the SDK configured providers context.

Package context imports 3 packages (graph) and is imported by 37 packages. Updated 2018-06-01. Refresh now. Tools for package owners.