fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/core/operations Index | Files

package operations

import "github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/core/operations"

Index

Package Files

metrics.go system.go tls.go

type Logger Uses

type Logger interface {
    Warn(args ...interface{})
    Warnf(template string, args ...interface{})
}

type MetricsOptions Uses

type MetricsOptions struct {
    Provider string
    Statsd   *Statsd
}

type Options Uses

type Options struct {
    Logger        Logger
    ListenAddress string
    Metrics       MetricsOptions
    TLS           TLS
    Version       string
}

type Statsd Uses

type Statsd struct {
    Network       string
    Address       string
    WriteInterval time.Duration
    Prefix        string
}

type System Uses

type System struct {
    metrics.Provider
    // contains filtered or unexported fields
}

func NewSystem Uses

func NewSystem(o Options) *System

func (*System) Addr Uses

func (s *System) Addr() string

func (*System) Log Uses

func (s *System) Log(keyvals ...interface{}) error

func (*System) RegisterChecker Uses

func (s *System) RegisterChecker(component string, checker healthz.HealthChecker) error

func (*System) Run Uses

func (s *System) Run(signals <-chan os.Signal, ready chan<- struct{}) error

func (*System) Start Uses

func (s *System) Start() error

func (*System) Stop Uses

func (s *System) Stop() error

type TLS Uses

type TLS struct {
    Enabled            bool
    CertFile           string
    KeyFile            string
    ClientCertRequired bool
    ClientCACertFiles  []string
}

func (TLS) Config Uses

func (t TLS) Config() (*tls.Config, error)

Package operations imports 23 packages (graph) and is imported by 1 packages. Updated 2019-04-12. Refresh now. Tools for package owners.