...

Package context

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

Overview ▾

type Channel

Channel supplies the configuration for channel context client

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

type ChannelProvider

ChannelProvider returns channel client context

type ChannelProvider func() (Channel, error)

type Client

Client supplies the configuration and signing identity to client objects.

type Client fab.ClientContext

type ClientProvider

ClientProvider returns client context

type ClientProvider func() (Client, error)

type Local

Local supplies the configuration for a local context client

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

type LocalProvider

LocalProvider returns local client context

type LocalProvider func() (Local, error)

type Providers

Providers represents the SDK configured providers context.

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