fabric: github.com/hyperledger/fabric/common/flogging/httpadmin Index | Files | Directories

package httpadmin

import "github.com/hyperledger/fabric/common/flogging/httpadmin"

Index

Package Files

spec.go

type ErrorResponse Uses

type ErrorResponse struct {
    Error string `json:"error"`
}

type LogSpec Uses

type LogSpec struct {
    Spec string `json:"spec,omitempty"`
}

type Logging Uses

type Logging interface {
    ActivateSpec(spec string) error
    Spec() string
}

type SpecHandler Uses

type SpecHandler struct {
    Logging Logging
    Logger  *flogging.FabricLogger
}

func NewSpecHandler Uses

func NewSpecHandler() *SpecHandler

func (*SpecHandler) ServeHTTP Uses

func (h *SpecHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

Directories

PathSynopsis
fakesCode generated by counterfeiter.

Package httpadmin imports 4 packages (graph) and is imported by 2 packages. Updated 2018-12-11. Refresh now. Tools for package owners.