1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/thoughtworks-fabric-sdk-go

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
doc.go 2.3 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Andrew Coleman Отправлено 01.06.2020 16:05 ad7b043
/*
Copyright SecureKey Technologies Inc. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
// Package fabricsdk enables Go developers to build solutions that interact with Hyperledger Fabric.
//
// Packages for end developer usage
//
// pkg/fabsdk: The main package of the Fabric SDK. This package enables creation of contexts based on
// configuration. These contexts are used by the client packages listed below.
// Reference: https://godoc.org/github.com/hyperledger/fabric-sdk-go/pkg/fabsdk
//
// pkg/client/channel: Provides channel transaction capabilities.
// Reference: https://godoc.org/github.com/hyperledger/fabric-sdk-go/pkg/client/channel
//
// pkg/client/event: Provides channel event capabilities.
// Reference: https://godoc.org/github.com/hyperledger/fabric-sdk-go/pkg/client/event
//
// pkg/client/ledger: Enables queries to a channel's underlying ledger.
// Reference: https://godoc.org/github.com/hyperledger/fabric-sdk-go/pkg/client/ledger
//
// pkg/client/resmgmt: Provides resource management capabilities such as installing chaincode.
// Reference: https://godoc.org/github.com/hyperledger/fabric-sdk-go/pkg/client/resmgmt
//
// pkg/client/msp: Enables identity management capability.
// Reference: https://godoc.org/github.com/hyperledger/fabric-sdk-go/pkg/client/msp
//
// Basic workflow
//
// 1) Instantiate a fabsdk instance using a configuration.
// Note: fabsdk maintains caches so you should minimize instances of fabsdk itself.
// 2) Create a context based on a user and organization, using your fabsdk instance.
// Note: A channel context additionally requires the channel ID.
// 3) Create a client instance using its New func, passing the context.
// Note: you create a new client instance for each context you need.
// 4) Use the funcs provided by each client to create your solution!
// 5) Call fabsdk.Close() to release resources and caches.
//
// Support for Hyperledger Fabric programming model
//
// In order to support the 'Gateway' programming model, the following package is provided:
//
// pkg/gateway: Enables Go developers to build client applications using the Hyperledger
// Fabric programming model as described in the 'Developing Applications' chapter of the Fabric
// documentation.
// Reference: https://godoc.org/github.com/hyperledger/fabric-sdk-go/pkg/gateway
//
package fabricsdk

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/thoughtworks-fabric-sdk-go.git
git@api.gitlife.ru:oschina-mirror/thoughtworks-fabric-sdk-go.git
oschina-mirror
thoughtworks-fabric-sdk-go
thoughtworks-fabric-sdk-go
v1.0.0-gm