Documentation ¶
Index ¶
- func NewChannelStore() *channelStore
- type ChannelOption
- func WithBatchSize(batchSize *orderer.BatchSize) ChannelOption
- func WithBatchTimeout(batchTimeout time.Duration) ChannelOption
- func WithConsenters(consenters ...Consenter) ChannelOption
- func WithName(name string) ChannelOption
- func WithOrdererOrgs(ordererOrgs ...OrdererOrg) ChannelOption
- func WithPeerOrgs(peerOrgs ...PeerOrg) ChannelOption
- type Consenter
- type CreateChannelOptions
- type OrdererOrg
- type PeerOrg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChannelStore ¶ added in v1.2.1
func NewChannelStore() *channelStore
Types ¶
type ChannelOption ¶ added in v1.2.1
type ChannelOption func(*CreateChannelOptions)
func WithBatchSize ¶ added in v1.7.0
func WithBatchSize(batchSize *orderer.BatchSize) ChannelOption
func WithBatchTimeout ¶ added in v1.8.0
func WithBatchTimeout(batchTimeout time.Duration) ChannelOption
func WithConsenters ¶ added in v1.2.1
func WithConsenters(consenters ...Consenter) ChannelOption
func WithName ¶ added in v1.2.1
func WithName(name string) ChannelOption
func WithOrdererOrgs ¶ added in v1.2.1
func WithOrdererOrgs(ordererOrgs ...OrdererOrg) ChannelOption
func WithPeerOrgs ¶ added in v1.2.1
func WithPeerOrgs(peerOrgs ...PeerOrg) ChannelOption
type Consenter ¶ added in v1.2.1
type Consenter struct {
// contains filtered or unexported fields
}
func CreateConsenter ¶ added in v1.2.1
func CreateConsenter(host string, port int, tlsCert *x509.Certificate) Consenter
type CreateChannelOptions ¶ added in v1.2.1
type CreateChannelOptions struct {
// contains filtered or unexported fields
}
type OrdererOrg ¶ added in v1.2.1
type OrdererOrg struct {
// contains filtered or unexported fields
}
func CreateOrdererOrg ¶ added in v1.2.1
func CreateOrdererOrg(mspID string, tlsRootCert *x509.Certificate, signRootCert *x509.Certificate, ordererUrls []string) OrdererOrg
type PeerOrg ¶ added in v1.2.1
type PeerOrg struct {
// contains filtered or unexported fields
}
func CreatePeerOrg ¶ added in v1.2.1
func CreatePeerOrg(mspID string, tlsRootCert *x509.Certificate, signRootCert *x509.Certificate) PeerOrg
Click to show internal directories.
Click to hide internal directories.