core

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Config

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

func NewConfig

func NewConfig(configProvider ConfigProvider) (*Config, error)

func (*Config) DefaultName

func (c *Config) DefaultName() string

func (*Config) Names

func (c *Config) Names() []string

type ConfigProvider

type ConfigProvider interface {
	UnmarshalKey(key string, rawVal interface{}) error
}

type FSNProvider

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

func NewFabricNetworkServiceProvider

func NewFabricNetworkServiceProvider(sp view.ServiceProvider, config *Config) (*FSNProvider, error)

func (*FSNProvider) DefaultName

func (p *FSNProvider) DefaultName() string

func (*FSNProvider) FabricNetworkService

func (p *FSNProvider) FabricNetworkService(network string) (driver.FabricNetworkService, error)

func (*FSNProvider) InitFabricLogging

func (p *FSNProvider) InitFabricLogging()

InitFabricLogging initializes the fabric logging system using the FSC configuration.

func (*FSNProvider) InstallViews

func (p *FSNProvider) InstallViews() error

func (*FSNProvider) Names

func (p *FSNProvider) Names() []string

func (*FSNProvider) Start

func (p *FSNProvider) Start(ctx context.Context) error

func (*FSNProvider) Stop

func (p *FSNProvider) Stop() error

Directories

Path Synopsis
id
msp
msp/mock
Code generated by counterfeiter.
Code generated by counterfeiter.
vault/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.
vault/txidstore/mocks
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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