├── CODEOWNERS
├── benchmarks
├── api
│ ├── fabric
│ │ ├── .gitignore
│ │ ├── create-asset-100.yaml
│ │ └── create-asset-16k.yaml
│ └── README.md
├── samples
│ ├── README.md
│ └── fabric
│ │ ├── README.md
│ │ └── marbles
│ │ └── config.yaml
└── scenario
│ ├── README.md
│ └── smallbank
│ └── config.yaml
├── src
└── fabric
│ ├── api
│ ├── fixed-asset
│ │ ├── go
│ │ │ ├── vendor
│ │ │ │ ├── google.golang.org
│ │ │ │ │ └── grpc
│ │ │ │ │ │ ├── AUTHORS
│ │ │ │ │ │ ├── install_gae.sh
│ │ │ │ │ │ ├── codegen.sh
│ │ │ │ │ │ ├── version.go
│ │ │ │ │ │ ├── go.mod
│ │ │ │ │ │ ├── doc.go
│ │ │ │ │ │ ├── internal
│ │ │ │ │ │ └── channelz
│ │ │ │ │ │ │ └── util_nonlinux.go
│ │ │ │ │ │ └── credentials
│ │ │ │ │ │ └── internal
│ │ │ │ │ │ └── syscallconn_appengine.go
│ │ │ │ ├── github.com
│ │ │ │ │ ├── joho
│ │ │ │ │ │ └── godotenv
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ └── .travis.yml
│ │ │ │ │ ├── go-openapi
│ │ │ │ │ │ ├── jsonpointer
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── go.mod
│ │ │ │ │ │ │ ├── .editorconfig
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ └── .travis.yml
│ │ │ │ │ │ ├── jsonreference
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── go.mod
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ └── .travis.yml
│ │ │ │ │ │ ├── spec
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── .golangci.yml
│ │ │ │ │ │ │ ├── .editorconfig
│ │ │ │ │ │ │ ├── go.mod
│ │ │ │ │ │ │ ├── license.go
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── contact_info.go
│ │ │ │ │ │ │ ├── external_docs.go
│ │ │ │ │ │ │ └── .travis.yml
│ │ │ │ │ │ └── swag
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── .golangci.yml
│ │ │ │ │ │ │ ├── go.mod
│ │ │ │ │ │ │ ├── .editorconfig
│ │ │ │ │ │ │ ├── post_go18.go
│ │ │ │ │ │ │ ├── pre_go18.go
│ │ │ │ │ │ │ └── .travis.yml
│ │ │ │ │ ├── xeipuuv
│ │ │ │ │ │ ├── gojsonschema
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ ├── go.mod
│ │ │ │ │ │ │ └── glide.yaml
│ │ │ │ │ │ └── gojsonreference
│ │ │ │ │ │ │ └── README.md
│ │ │ │ │ ├── gobuffalo
│ │ │ │ │ │ ├── envy
│ │ │ │ │ │ │ ├── version.go
│ │ │ │ │ │ │ ├── env
│ │ │ │ │ │ │ ├── .gometalinter.json
│ │ │ │ │ │ │ ├── azure.sh
│ │ │ │ │ │ │ ├── go.mod
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── azure-tests.yml
│ │ │ │ │ │ │ ├── SHOULDERS.md
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ └── LICENSE.txt
│ │ │ │ │ │ ├── packr
│ │ │ │ │ │ │ ├── version.go
│ │ │ │ │ │ │ ├── file.go
│ │ │ │ │ │ │ ├── .gometalinter.json
│ │ │ │ │ │ │ ├── env.go
│ │ │ │ │ │ │ ├── go.mod
│ │ │ │ │ │ │ ├── .codeclimate.yml
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── .goreleaser.yml.plush
│ │ │ │ │ │ │ ├── .goreleaser.yml
│ │ │ │ │ │ │ ├── azure-tests.yml
│ │ │ │ │ │ │ ├── SHOULDERS.md
│ │ │ │ │ │ │ └── LICENSE.txt
│ │ │ │ │ │ └── packd
│ │ │ │ │ │ │ ├── version.go
│ │ │ │ │ │ │ ├── internal
│ │ │ │ │ │ │ └── takeon
│ │ │ │ │ │ │ │ └── github.com
│ │ │ │ │ │ │ │ └── markbates
│ │ │ │ │ │ │ │ └── errx
│ │ │ │ │ │ │ │ ├── version.go
│ │ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ │ ├── errx.go
│ │ │ │ │ │ │ │ ├── SHOULDERS.md
│ │ │ │ │ │ │ │ └── azure-tests.yml
│ │ │ │ │ │ │ ├── .gometalinter.json
│ │ │ │ │ │ │ ├── go.mod
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── azure-tests.yml
│ │ │ │ │ │ │ ├── SHOULDERS.md
│ │ │ │ │ │ │ ├── file_info.go
│ │ │ │ │ │ │ └── go.sum
│ │ │ │ │ ├── PuerkitoBio
│ │ │ │ │ │ ├── purell
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ └── .travis.yml
│ │ │ │ │ │ └── urlesc
│ │ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ │ └── README.md
│ │ │ │ │ ├── golang
│ │ │ │ │ │ └── protobuf
│ │ │ │ │ │ │ ├── AUTHORS
│ │ │ │ │ │ │ └── CONTRIBUTORS
│ │ │ │ │ ├── mailru
│ │ │ │ │ │ └── easyjson
│ │ │ │ │ │ │ ├── jlexer
│ │ │ │ │ │ │ ├── error.go
│ │ │ │ │ │ │ ├── bytestostr_nounsafe.go
│ │ │ │ │ │ │ └── bytestostr.go
│ │ │ │ │ │ │ └── LICENSE
│ │ │ │ │ └── hyperledger
│ │ │ │ │ │ ├── fabric-contract-api-go
│ │ │ │ │ │ ├── contractapi
│ │ │ │ │ │ │ ├── utils
│ │ │ │ │ │ │ │ └── undefined_interface.go
│ │ │ │ │ │ │ └── system_contract.go
│ │ │ │ │ │ └── metadata
│ │ │ │ │ │ │ └── ioutils.go
│ │ │ │ │ │ └── fabric-chaincode-go
│ │ │ │ │ │ └── shim
│ │ │ │ │ │ └── response.go
│ │ │ │ ├── golang.org
│ │ │ │ │ └── x
│ │ │ │ │ │ ├── net
│ │ │ │ │ │ ├── http2
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── not_go111.go
│ │ │ │ │ │ │ ├── README
│ │ │ │ │ │ │ └── go111.go
│ │ │ │ │ │ ├── AUTHORS
│ │ │ │ │ │ └── CONTRIBUTORS
│ │ │ │ │ │ ├── sys
│ │ │ │ │ │ ├── unix
│ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ ├── endian_big.go
│ │ │ │ │ │ │ ├── endian_little.go
│ │ │ │ │ │ │ ├── constants.go
│ │ │ │ │ │ │ ├── syscall_linux_amd64_gc.go
│ │ │ │ │ │ │ ├── aliases.go
│ │ │ │ │ │ │ ├── pagesize_unix.go
│ │ │ │ │ │ │ ├── readdirent_getdents.go
│ │ │ │ │ │ │ ├── fcntl_linux_32bit.go
│ │ │ │ │ │ │ ├── asm_aix_ppc64.s
│ │ │ │ │ │ │ ├── asm_solaris_amd64.s
│ │ │ │ │ │ │ ├── gccgo_linux_amd64.go
│ │ │ │ │ │ │ ├── syscall_linux_gc.go
│ │ │ │ │ │ │ ├── race0.go
│ │ │ │ │ │ │ ├── syscall_solaris_amd64.go
│ │ │ │ │ │ │ ├── syscall_linux_gc_386.go
│ │ │ │ │ │ │ ├── fcntl_darwin.go
│ │ │ │ │ │ │ ├── syscall_linux_gccgo_arm.go
│ │ │ │ │ │ │ ├── syscall_unix_gc.go
│ │ │ │ │ │ │ ├── str.go
│ │ │ │ │ │ │ ├── race.go
│ │ │ │ │ │ │ ├── env_unix.go
│ │ │ │ │ │ │ ├── asm_freebsd_arm.s
│ │ │ │ │ │ │ ├── asm_netbsd_arm.s
│ │ │ │ │ │ │ ├── asm_openbsd_arm.s
│ │ │ │ │ │ │ ├── asm_netbsd_arm64.s
│ │ │ │ │ │ │ ├── readdirent_getdirentries.go
│ │ │ │ │ │ │ ├── asm_darwin_386.s
│ │ │ │ │ │ │ ├── asm_freebsd_386.s
│ │ │ │ │ │ │ ├── asm_netbsd_386.s
│ │ │ │ │ │ │ ├── asm_openbsd_386.s
│ │ │ │ │ │ │ ├── asm_darwin_amd64.s
│ │ │ │ │ │ │ ├── asm_freebsd_amd64.s
│ │ │ │ │ │ │ ├── asm_freebsd_arm64.s
│ │ │ │ │ │ │ ├── asm_netbsd_amd64.s
│ │ │ │ │ │ │ ├── asm_openbsd_amd64.s
│ │ │ │ │ │ │ ├── asm_openbsd_arm64.s
│ │ │ │ │ │ │ ├── asm_dragonfly_amd64.s
│ │ │ │ │ │ │ ├── asm_darwin_arm.s
│ │ │ │ │ │ │ ├── bluetooth_linux.go
│ │ │ │ │ │ │ ├── asm_darwin_arm64.s
│ │ │ │ │ │ │ ├── dev_darwin.go
│ │ │ │ │ │ │ ├── dev_aix_ppc.go
│ │ │ │ │ │ │ ├── syscall_netbsd_amd64.go
│ │ │ │ │ │ │ ├── syscall_netbsd_arm64.go
│ │ │ │ │ │ │ ├── syscall_netbsd_386.go
│ │ │ │ │ │ │ ├── syscall_netbsd_arm.go
│ │ │ │ │ │ │ ├── syscall_unix_gc_ppc64x.go
│ │ │ │ │ │ │ ├── dev_aix_ppc64.go
│ │ │ │ │ │ │ ├── dev_netbsd.go
│ │ │ │ │ │ │ ├── dev_openbsd.go
│ │ │ │ │ │ │ ├── ioctl.go
│ │ │ │ │ │ │ ├── syscall_openbsd_amd64.go
│ │ │ │ │ │ │ ├── syscall_openbsd_arm64.go
│ │ │ │ │ │ │ ├── syscall_openbsd_386.go
│ │ │ │ │ │ │ └── syscall_openbsd_arm.go
│ │ │ │ │ │ ├── AUTHORS
│ │ │ │ │ │ └── CONTRIBUTORS
│ │ │ │ │ │ └── text
│ │ │ │ │ │ ├── AUTHORS
│ │ │ │ │ │ ├── CONTRIBUTORS
│ │ │ │ │ │ ├── secure
│ │ │ │ │ │ └── bidirule
│ │ │ │ │ │ │ ├── bidirule10.0.0.go
│ │ │ │ │ │ │ └── bidirule9.0.0.go
│ │ │ │ │ │ └── width
│ │ │ │ │ │ ├── trieval.go
│ │ │ │ │ │ └── kind_string.go
│ │ │ │ └── gopkg.in
│ │ │ │ │ └── yaml.v2
│ │ │ │ │ ├── go.mod
│ │ │ │ │ ├── .travis.yml
│ │ │ │ │ ├── NOTICE
│ │ │ │ │ └── writerc.go
│ │ │ ├── utils
│ │ │ │ ├── ResponseMetadata.go
│ │ │ │ └── QueryResponse.go
│ │ │ ├── go.mod
│ │ │ ├── META-INF
│ │ │ │ └── statedb
│ │ │ │ │ └── couchdb
│ │ │ │ │ └── indexes
│ │ │ │ │ └── indexOwner.json
│ │ │ └── assets
│ │ │ │ └── FixedAsset.go
│ │ ├── java
│ │ │ ├── README.md
│ │ │ ├── settings.gradle
│ │ │ ├── .gitignore
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── META-INF
│ │ │ │ └── statedb
│ │ │ │ │ └── couchdb
│ │ │ │ │ └── indexes
│ │ │ │ │ └── indexOwner.json
│ │ │ └── src
│ │ │ │ └── main
│ │ │ │ └── java
│ │ │ │ └── org
│ │ │ │ └── example
│ │ │ │ ├── QueryResponse.java
│ │ │ │ └── ResponseMetadata.java
│ │ ├── node
│ │ │ ├── index.js
│ │ │ ├── META-INF
│ │ │ │ └── statedb
│ │ │ │ │ └── couchdb
│ │ │ │ │ └── indexes
│ │ │ │ │ └── indexOwner.json
│ │ │ └── package.json
│ │ └── collections-config.json
│ └── fixed-asset-base
│ │ ├── go
│ │ ├── vendor
│ │ │ ├── google.golang.org
│ │ │ │ └── grpc
│ │ │ │ │ ├── AUTHORS
│ │ │ │ │ ├── install_gae.sh
│ │ │ │ │ ├── codegen.sh
│ │ │ │ │ ├── version.go
│ │ │ │ │ ├── go.mod
│ │ │ │ │ ├── doc.go
│ │ │ │ │ ├── internal
│ │ │ │ │ └── channelz
│ │ │ │ │ │ └── util_nonlinux.go
│ │ │ │ │ └── credentials
│ │ │ │ │ └── internal
│ │ │ │ │ └── syscallconn_appengine.go
│ │ │ ├── golang.org
│ │ │ │ └── x
│ │ │ │ │ ├── net
│ │ │ │ │ ├── http2
│ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ ├── not_go111.go
│ │ │ │ │ │ ├── README
│ │ │ │ │ │ └── go111.go
│ │ │ │ │ ├── AUTHORS
│ │ │ │ │ └── CONTRIBUTORS
│ │ │ │ │ ├── sys
│ │ │ │ │ ├── unix
│ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ ├── endian_big.go
│ │ │ │ │ │ ├── endian_little.go
│ │ │ │ │ │ ├── constants.go
│ │ │ │ │ │ ├── syscall_linux_amd64_gc.go
│ │ │ │ │ │ ├── aliases.go
│ │ │ │ │ │ ├── pagesize_unix.go
│ │ │ │ │ │ ├── readdirent_getdents.go
│ │ │ │ │ │ ├── fcntl_linux_32bit.go
│ │ │ │ │ │ ├── asm_aix_ppc64.s
│ │ │ │ │ │ ├── asm_solaris_amd64.s
│ │ │ │ │ │ ├── gccgo_linux_amd64.go
│ │ │ │ │ │ ├── syscall_linux_gc.go
│ │ │ │ │ │ ├── race0.go
│ │ │ │ │ │ ├── syscall_solaris_amd64.go
│ │ │ │ │ │ ├── syscall_linux_gc_386.go
│ │ │ │ │ │ ├── fcntl_darwin.go
│ │ │ │ │ │ ├── syscall_linux_gccgo_arm.go
│ │ │ │ │ │ ├── syscall_unix_gc.go
│ │ │ │ │ │ ├── str.go
│ │ │ │ │ │ ├── race.go
│ │ │ │ │ │ ├── env_unix.go
│ │ │ │ │ │ ├── asm_freebsd_arm.s
│ │ │ │ │ │ ├── asm_netbsd_arm.s
│ │ │ │ │ │ ├── asm_openbsd_arm.s
│ │ │ │ │ │ ├── asm_netbsd_arm64.s
│ │ │ │ │ │ ├── readdirent_getdirentries.go
│ │ │ │ │ │ ├── asm_darwin_386.s
│ │ │ │ │ │ ├── asm_freebsd_386.s
│ │ │ │ │ │ ├── asm_netbsd_386.s
│ │ │ │ │ │ ├── asm_openbsd_386.s
│ │ │ │ │ │ ├── asm_darwin_amd64.s
│ │ │ │ │ │ ├── asm_freebsd_amd64.s
│ │ │ │ │ │ ├── asm_freebsd_arm64.s
│ │ │ │ │ │ ├── asm_netbsd_amd64.s
│ │ │ │ │ │ ├── asm_openbsd_amd64.s
│ │ │ │ │ │ ├── asm_openbsd_arm64.s
│ │ │ │ │ │ ├── asm_dragonfly_amd64.s
│ │ │ │ │ │ ├── asm_darwin_arm.s
│ │ │ │ │ │ ├── bluetooth_linux.go
│ │ │ │ │ │ ├── asm_darwin_arm64.s
│ │ │ │ │ │ ├── dev_darwin.go
│ │ │ │ │ │ ├── dev_aix_ppc.go
│ │ │ │ │ │ ├── syscall_netbsd_amd64.go
│ │ │ │ │ │ ├── syscall_netbsd_arm64.go
│ │ │ │ │ │ ├── syscall_netbsd_386.go
│ │ │ │ │ │ ├── syscall_netbsd_arm.go
│ │ │ │ │ │ ├── syscall_unix_gc_ppc64x.go
│ │ │ │ │ │ ├── dev_aix_ppc64.go
│ │ │ │ │ │ ├── dev_netbsd.go
│ │ │ │ │ │ ├── dev_openbsd.go
│ │ │ │ │ │ ├── ioctl.go
│ │ │ │ │ │ ├── syscall_openbsd_amd64.go
│ │ │ │ │ │ ├── syscall_openbsd_arm64.go
│ │ │ │ │ │ └── syscall_openbsd_386.go
│ │ │ │ │ ├── AUTHORS
│ │ │ │ │ └── CONTRIBUTORS
│ │ │ │ │ └── text
│ │ │ │ │ ├── AUTHORS
│ │ │ │ │ ├── CONTRIBUTORS
│ │ │ │ │ └── secure
│ │ │ │ │ └── bidirule
│ │ │ │ │ ├── bidirule10.0.0.go
│ │ │ │ │ └── bidirule9.0.0.go
│ │ │ └── github.com
│ │ │ │ ├── golang
│ │ │ │ └── protobuf
│ │ │ │ │ ├── AUTHORS
│ │ │ │ │ └── CONTRIBUTORS
│ │ │ │ └── hyperledger
│ │ │ │ └── fabric-chaincode-go
│ │ │ │ └── shim
│ │ │ │ └── response.go
│ │ ├── utils
│ │ │ ├── ResponseMetadata.go
│ │ │ ├── QueryResponse.go
│ │ │ └── Context.go
│ │ ├── assets
│ │ │ └── FixedAsset.go
│ │ ├── go.mod
│ │ └── META-INF
│ │ │ └── statedb
│ │ │ └── couchdb
│ │ │ └── indexes
│ │ │ └── indexOwner.json
│ │ ├── node
│ │ ├── META-INF
│ │ │ └── statedb
│ │ │ │ └── couchdb
│ │ │ │ └── indexes
│ │ │ │ └── indexOwner.json
│ │ └── package.json
│ │ └── collections-config.json
│ ├── samples
│ ├── marbles
│ │ ├── go
│ │ │ ├── META-INF
│ │ │ │ └── statedb
│ │ │ │ │ └── couchdb
│ │ │ │ │ └── indexes
│ │ │ │ │ └── indexOwner.json
│ │ │ └── go.mod
│ │ └── node
│ │ │ ├── META-INF
│ │ │ └── statedb
│ │ │ │ └── couchdb
│ │ │ │ └── indexes
│ │ │ │ └── indexOwner.json
│ │ │ └── package.json
│ ├── fabcar
│ │ ├── java
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── config
│ │ │ │ └── checkstyle
│ │ │ │ │ └── suppressions.xml
│ │ │ ├── settings.gradle
│ │ │ └── README.md
│ │ ├── node
│ │ │ ├── .eslintignore
│ │ │ ├── index.js
│ │ │ └── .editorconfig
│ │ └── go
│ │ │ └── go.mod
│ ├── marbles-norichquery
│ │ ├── node
│ │ │ └── package.json
│ │ └── go
│ │ │ └── go.mod
│ └── README.md
│ └── scenario
│ ├── simple
│ ├── node
│ │ └── package.json
│ └── go
│ │ └── go.mod
│ └── smallbank
│ └── go
│ └── go.mod
├── networks
└── prometheus-grafana
│ ├── grafana
│ ├── config.monitoring
│ └── provisioning
│ │ └── dashboards
│ │ └── dashboard.yml
│ ├── grafana_db
│ └── grafana.db
│ ├── prometheus
│ ├── prometheus-bare.yml
│ └── prometheus-fabric.yml
│ └── README.md
├── MAINTAINERS.md
├── .gitignore
└── SECURITY.md
/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @hyperledger/caliper-committers
2 |
--------------------------------------------------------------------------------
/benchmarks/api/fabric/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 | config
3 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/google.golang.org/grpc/AUTHORS:
--------------------------------------------------------------------------------
1 | Google Inc.
2 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/google.golang.org/grpc/AUTHORS:
--------------------------------------------------------------------------------
1 | Google Inc.
2 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/joho/godotenv/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/net/http2/.gitignore:
--------------------------------------------------------------------------------
1 | *~
2 | h2i/h2i
3 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/.gitignore:
--------------------------------------------------------------------------------
1 | _obj/
2 | unix.test
3 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/net/http2/.gitignore:
--------------------------------------------------------------------------------
1 | *~
2 | h2i/h2i
3 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/.gitignore:
--------------------------------------------------------------------------------
1 | _obj/
2 | unix.test
3 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/jsonpointer/.gitignore:
--------------------------------------------------------------------------------
1 | secrets.yml
2 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/jsonreference/.gitignore:
--------------------------------------------------------------------------------
1 | secrets.yml
2 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/spec/.gitignore:
--------------------------------------------------------------------------------
1 | secrets.yml
2 | coverage.out
3 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/xeipuuv/gojsonschema/.gitignore:
--------------------------------------------------------------------------------
1 | *.sw[nop]
2 | *.iml
3 | .vscode/
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/java/README.md:
--------------------------------------------------------------------------------
1 | # FixedAsset Hyperledger Fabric Java contract for Performance Testing
2 |
--------------------------------------------------------------------------------
/networks/prometheus-grafana/grafana/config.monitoring:
--------------------------------------------------------------------------------
1 | GF_SECURITY_ADMIN_PASSWORD=admin
2 | GF_USERS_ALLOW_SIGN_UP=false
3 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/swag/.gitignore:
--------------------------------------------------------------------------------
1 | secrets.yml
2 | vendor
3 | Godeps
4 | .idea
5 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/version.go:
--------------------------------------------------------------------------------
1 | package envy
2 |
3 | const Version = "v1.7.0"
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/version.go:
--------------------------------------------------------------------------------
1 | package packr
2 |
3 | const Version = "v1.30.1"
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/net/http2/Makefile:
--------------------------------------------------------------------------------
1 | curlimage:
2 | docker build -t gohttp2/curl .
3 |
4 |
--------------------------------------------------------------------------------
/benchmarks/api/README.md:
--------------------------------------------------------------------------------
1 | # API Tests
2 |
3 | This folder contains tests that are directed to the APIs of the blockchain technologies.
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/net/http2/Makefile:
--------------------------------------------------------------------------------
1 | curlimage:
2 | docker build -t gohttp2/curl .
3 |
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/PuerkitoBio/purell/.gitignore:
--------------------------------------------------------------------------------
1 | *.sublime-*
2 | .DS_Store
3 | *.swp
4 | *.swo
5 | tags
6 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/java/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * SPDX-License-Identifier: Apache-2.0
3 | */
4 | rootProject.name = 'fixed-asset'
5 |
6 |
--------------------------------------------------------------------------------
/benchmarks/samples/README.md:
--------------------------------------------------------------------------------
1 | # Sample tests
2 |
3 | This folder contains tests that are directed to the samples released for the blockchain technologies.
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/version.go:
--------------------------------------------------------------------------------
1 | package packd
2 |
3 | // Version of packd
4 | const Version = "v0.3.0"
5 |
--------------------------------------------------------------------------------
/MAINTAINERS.md:
--------------------------------------------------------------------------------
1 | ## Maintainers
2 |
3 | See [MAINTAINERS.md](https://github.com/hyperledger/caliper/blob/main/MAINTAINERS.md) in the Caliper repository.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/joho/godotenv/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 |
3 | go:
4 | - 1.x
5 |
6 | os:
7 | - linux
8 | - osx
9 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/file.go:
--------------------------------------------------------------------------------
1 | package packr
2 |
3 | import "github.com/gobuffalo/packd"
4 |
5 | type File = packd.File
6 |
--------------------------------------------------------------------------------
/networks/prometheus-grafana/grafana_db/grafana.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hyperledger-caliper/caliper-benchmarks/HEAD/networks/prometheus-grafana/grafana_db/grafana.db
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/java/.gitignore:
--------------------------------------------------------------------------------
1 | #
2 | # SPDX-License-Identifier: Apache-2.0
3 | #
4 |
5 | /.gradle/
6 | /build/
7 |
8 | **/*.class
9 | .vscode
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/gopkg.in/yaml.v2/go.mod:
--------------------------------------------------------------------------------
1 | module "gopkg.in/yaml.v2"
2 |
3 | require (
4 | "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405
5 | )
6 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/env:
--------------------------------------------------------------------------------
1 | # This is a comment
2 | # We can use equal or colon notation
3 | DIR: root
4 | FLAVOUR: none
5 | INSIDE_FOLDER=false
--------------------------------------------------------------------------------
/src/fabric/samples/marbles/go/META-INF/statedb/couchdb/indexes/indexOwner.json:
--------------------------------------------------------------------------------
1 | {"index":{"fields":["docType","owner"]},"ddoc":"indexOwnerDoc", "name":"indexOwner","type":"json"}
2 |
--------------------------------------------------------------------------------
/src/fabric/samples/marbles/node/META-INF/statedb/couchdb/indexes/indexOwner.json:
--------------------------------------------------------------------------------
1 | {"index":{"fields":["docType","owner"]},"ddoc":"indexOwnerDoc", "name":"indexOwner","type":"json"}
2 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/internal/takeon/github.com/markbates/errx/version.go:
--------------------------------------------------------------------------------
1 | package errx
2 |
3 | // Version of errx
4 | const Version = "v1.0.0"
5 |
--------------------------------------------------------------------------------
/src/fabric/samples/fabcar/java/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hyperledger-caliper/caliper-benchmarks/HEAD/src/fabric/samples/fabcar/java/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/java/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hyperledger-caliper/caliper-benchmarks/HEAD/src/fabric/api/fixed-asset/java/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/utils/ResponseMetadata.go:
--------------------------------------------------------------------------------
1 | package utils
2 |
3 | // ResponseMetadata - manage metadata for query
4 | type ResponseMetadata struct {
5 | RecordsCount int32
6 | Bookmark string
7 | }
8 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/utils/ResponseMetadata.go:
--------------------------------------------------------------------------------
1 | package utils
2 |
3 | // ResponseMetadata - manage metadata for query
4 | type ResponseMetadata struct {
5 | RecordsCount int32
6 | Bookmark string
7 | }
8 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/assets/FixedAsset.go:
--------------------------------------------------------------------------------
1 | package assets
2 |
3 | // FixedAsset - fixed asset
4 | type FixedAsset struct {
5 | UUID string
6 | Creator string
7 | Bytesize int
8 | Content string
9 | }
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/utils/QueryResponse.go:
--------------------------------------------------------------------------------
1 | package utils
2 |
3 | // QueryResponse - manage results from query
4 | type QueryResponse struct {
5 | Results interface{}
6 | ResponseMetadata ResponseMetadata
7 | }
8 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/utils/QueryResponse.go:
--------------------------------------------------------------------------------
1 | package utils
2 |
3 | // QueryResponse - manage results from query
4 | type QueryResponse struct {
5 | Results interface{}
6 | ResponseMetadata ResponseMetadata
7 | }
8 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/.gometalinter.json:
--------------------------------------------------------------------------------
1 | {
2 | "Enable": ["vet", "golint", "goimports", "deadcode", "gotype", "ineffassign", "misspell", "nakedret", "unconvert", "megacheck", "varcheck"]
3 | }
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/.gometalinter.json:
--------------------------------------------------------------------------------
1 | {
2 | "Enable": ["vet", "golint", "goimports", "deadcode", "gotype", "ineffassign", "misspell", "nakedret", "unconvert", "megacheck", "varcheck"]
3 | }
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/gobuffalo/packd
2 |
3 | go 1.12
4 |
5 | require (
6 | github.com/davecgh/go-spew v1.1.1 // indirect
7 | github.com/stretchr/testify v1.3.0
8 | )
9 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/.gometalinter.json:
--------------------------------------------------------------------------------
1 | {
2 | "Enable": ["vet", "golint", "goimports", "deadcode", "gotype", "ineffassign", "misspell", "nakedret", "unconvert", "megacheck", "varcheck"]
3 | }
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/net/AUTHORS:
--------------------------------------------------------------------------------
1 | # This source code refers to The Go Authors for copyright purposes.
2 | # The master list of authors is in the main Go distribution,
3 | # visible at http://tip.golang.org/AUTHORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/net/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | # This source code was written by the Go contributors.
2 | # The master list of contributors is in the main Go distribution,
3 | # visible at http://tip.golang.org/CONTRIBUTORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/AUTHORS:
--------------------------------------------------------------------------------
1 | # This source code refers to The Go Authors for copyright purposes.
2 | # The master list of authors is in the main Go distribution,
3 | # visible at http://tip.golang.org/AUTHORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | # This source code was written by the Go contributors.
2 | # The master list of contributors is in the main Go distribution,
3 | # visible at http://tip.golang.org/CONTRIBUTORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/text/AUTHORS:
--------------------------------------------------------------------------------
1 | # This source code refers to The Go Authors for copyright purposes.
2 | # The master list of authors is in the main Go distribution,
3 | # visible at http://tip.golang.org/AUTHORS.
4 |
--------------------------------------------------------------------------------
/benchmarks/scenario/README.md:
--------------------------------------------------------------------------------
1 | # Scenario tests
2 |
3 | This folder contains tests that are generic across all blockchain technologies. Their specific implementations are different, and bespoke to the technology under test, but the outcome is the same.
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/net/AUTHORS:
--------------------------------------------------------------------------------
1 | # This source code refers to The Go Authors for copyright purposes.
2 | # The master list of authors is in the main Go distribution,
3 | # visible at http://tip.golang.org/AUTHORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/net/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | # This source code was written by the Go contributors.
2 | # The master list of contributors is in the main Go distribution,
3 | # visible at http://tip.golang.org/CONTRIBUTORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/AUTHORS:
--------------------------------------------------------------------------------
1 | # This source code refers to The Go Authors for copyright purposes.
2 | # The master list of authors is in the main Go distribution,
3 | # visible at http://tip.golang.org/AUTHORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | # This source code was written by the Go contributors.
2 | # The master list of contributors is in the main Go distribution,
3 | # visible at http://tip.golang.org/CONTRIBUTORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/text/AUTHORS:
--------------------------------------------------------------------------------
1 | # This source code refers to The Go Authors for copyright purposes.
2 | # The master list of authors is in the main Go distribution,
3 | # visible at http://tip.golang.org/AUTHORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/text/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | # This source code was written by the Go contributors.
2 | # The master list of contributors is in the main Go distribution,
3 | # visible at http://tip.golang.org/CONTRIBUTORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/text/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | # This source code was written by the Go contributors.
2 | # The master list of contributors is in the main Go distribution,
3 | # visible at http://tip.golang.org/CONTRIBUTORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/go.mod:
--------------------------------------------------------------------------------
1 | module fabric/api/fixed-asset/go
2 |
3 | go 1.13
4 |
5 | require (
6 | github.com/hyperledger/fabric-chaincode-go v0.0.0-20200424173110-d7076418f212
7 | github.com/hyperledger/fabric-contract-api-go v1.1.0
8 | )
9 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/golang/protobuf/AUTHORS:
--------------------------------------------------------------------------------
1 | # This source code refers to The Go Authors for copyright purposes.
2 | # The master list of authors is in the main Go distribution,
3 | # visible at http://tip.golang.org/AUTHORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/golang/protobuf/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | # This source code was written by the Go contributors.
2 | # The master list of contributors is in the main Go distribution,
3 | # visible at http://tip.golang.org/CONTRIBUTORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/github.com/golang/protobuf/AUTHORS:
--------------------------------------------------------------------------------
1 | # This source code refers to The Go Authors for copyright purposes.
2 | # The master list of authors is in the main Go distribution,
3 | # visible at http://tip.golang.org/AUTHORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/github.com/golang/protobuf/CONTRIBUTORS:
--------------------------------------------------------------------------------
1 | # This source code was written by the Go contributors.
2 | # The master list of contributors is in the main Go distribution,
3 | # visible at http://tip.golang.org/CONTRIBUTORS.
4 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/node/index.js:
--------------------------------------------------------------------------------
1 | /*
2 | * SPDX-License-Identifier: Apache-2.0
3 | */
4 |
5 | 'use strict';
6 |
7 | const Asset = require('./lib/fixed-asset');
8 |
9 | module.exports.Asset = Asset;
10 | module.exports.contracts = [ Asset ];
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/PuerkitoBio/purell/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 |
3 | go:
4 | - 1.4.x
5 | - 1.5.x
6 | - 1.6.x
7 | - 1.7.x
8 | - 1.8.x
9 | - 1.9.x
10 | - "1.10.x"
11 | - "1.11.x"
12 | - tip
13 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/azure.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -xe
4 |
5 | cat >> .env << EOF
6 | # This is a comment
7 | # We can use equal or colon notation
8 | DIR: root
9 | FLAVOUR: none
10 | INSIDE_FOLDER=false
11 | EOF
12 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/PuerkitoBio/urlesc/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 |
3 | go:
4 | - 1.4.x
5 | - 1.5.x
6 | - 1.6.x
7 | - 1.7.x
8 | - 1.8.x
9 | - tip
10 |
11 | install:
12 | - go build .
13 |
14 | script:
15 | - go test -v
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/go.mod:
--------------------------------------------------------------------------------
1 | module fabric/api/fixed-asset-base/go
2 |
3 | go 1.13
4 |
5 | require (
6 | github.com/hyperledger/fabric-chaincode-go v0.0.0-20200424173110-d7076418f212
7 | github.com/hyperledger/fabric-protos-go v0.0.0-20190919234611-2a87503ac7c9
8 | )
9 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/META-INF/statedb/couchdb/indexes/indexOwner.json:
--------------------------------------------------------------------------------
1 | {
2 | "index": {
3 | "fields": [
4 | "docType",
5 | "creator",
6 | "byteSize"
7 | ]
8 | },
9 | "ddoc": "assetCreatorDoc",
10 | "name": "assetCreator",
11 | "type": "json"
12 | }
13 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/java/META-INF/statedb/couchdb/indexes/indexOwner.json:
--------------------------------------------------------------------------------
1 | {
2 | "index": {
3 | "fields": [
4 | "docType",
5 | "creator",
6 | "byteSize"
7 | ]
8 | },
9 | "ddoc": "assetCreatorDoc",
10 | "name": "assetCreator",
11 | "type": "json"
12 | }
13 |
--------------------------------------------------------------------------------
/src/fabric/samples/fabcar/java/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/node/META-INF/statedb/couchdb/indexes/indexOwner.json:
--------------------------------------------------------------------------------
1 | {
2 | "index": {
3 | "fields": [
4 | "docType",
5 | "creator",
6 | "byteSize"
7 | ]
8 | },
9 | "ddoc": "assetCreatorDoc",
10 | "name": "assetCreator",
11 | "type": "json"
12 | }
13 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/java/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-bin.zip
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/node/META-INF/statedb/couchdb/indexes/indexOwner.json:
--------------------------------------------------------------------------------
1 | {
2 | "index": {
3 | "fields": [
4 | "docType",
5 | "creator",
6 | "byteSize"
7 | ]
8 | },
9 | "ddoc": "assetCreatorDoc",
10 | "name": "assetCreator",
11 | "type": "json"
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/collections-config.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "CollectionOne",
4 | "policy": "OR('Org1MSP.member')",
5 | "requiredPeerCount": 0,
6 | "maxPeerCount": 1,
7 | "blockToLive": 0,
8 | "memberOnlyRead": false
9 | }
10 | ]
11 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/META-INF/statedb/couchdb/indexes/indexOwner.json:
--------------------------------------------------------------------------------
1 | {
2 | "index": {
3 | "fields": [
4 | "docType",
5 | "creator",
6 | "byteSize"
7 | ]
8 | },
9 | "ddoc": "assetCreatorDoc",
10 | "name": "assetCreator",
11 | "type": "json"
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/gobuffalo/envy
2 |
3 | require (
4 | github.com/davecgh/go-spew v1.1.1 // indirect
5 | github.com/joho/godotenv v1.3.0
6 | github.com/rogpeppe/go-internal v1.1.0
7 | github.com/stretchr/testify v1.3.0
8 | )
9 |
--------------------------------------------------------------------------------
/networks/prometheus-grafana/grafana/provisioning/dashboards/dashboard.yml:
--------------------------------------------------------------------------------
1 | apiVersion: 1
2 |
3 | providers:
4 | - name: 'Prometheus'
5 | orgId: 1
6 | folder: ''
7 | type: file
8 | disableDeletion: false
9 | editable: true
10 | options:
11 | path: /etc/grafana/provisioning/dashboards
12 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/xeipuuv/gojsonschema/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | go:
3 | - "1.11"
4 | - "1.12"
5 | - "1.13"
6 | before_install:
7 | - go get github.com/xeipuuv/gojsonreference
8 | - go get github.com/xeipuuv/gojsonpointer
9 | - go get github.com/stretchr/testify/assert
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/jsonpointer/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/go-openapi/jsonpointer
2 |
3 | require (
4 | github.com/go-openapi/swag v0.19.5
5 | github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e // indirect
6 | github.com/stretchr/testify v1.3.0
7 | )
8 |
9 | go 1.13
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/google.golang.org/grpc/install_gae.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | TMP=$(mktemp -d /tmp/sdk.XXX) \
4 | && curl -o $TMP.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.68.zip" \
5 | && unzip -q $TMP.zip -d $TMP \
6 | && export PATH="$PATH:$TMP/go_appengine"
7 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/google.golang.org/grpc/install_gae.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | TMP=$(mktemp -d /tmp/sdk.XXX) \
4 | && curl -o $TMP.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.68.zip" \
5 | && unzip -q $TMP.zip -d $TMP \
6 | && export PATH="$PATH:$TMP/go_appengine"
7 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/xeipuuv/gojsonschema/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/xeipuuv/gojsonschema
2 |
3 | require (
4 | github.com/stretchr/testify v1.3.0
5 | github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
6 | github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
7 | )
8 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/endian_big.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 | //
5 | // +build ppc64 s390x mips mips64
6 |
7 | package unix
8 |
9 | const isBigEndian = true
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/gopkg.in/yaml.v2/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 |
3 | go:
4 | - "1.4.x"
5 | - "1.5.x"
6 | - "1.6.x"
7 | - "1.7.x"
8 | - "1.8.x"
9 | - "1.9.x"
10 | - "1.10.x"
11 | - "1.11.x"
12 | - "1.12.x"
13 | - "1.13.x"
14 | - "tip"
15 |
16 | go_import_path: gopkg.in/yaml.v2
17 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/endian_big.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 | //
5 | // +build ppc64 s390x mips mips64
6 |
7 | package unix
8 |
9 | const isBigEndian = true
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/endian_little.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 | //
5 | // +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le
6 |
7 | package unix
8 |
9 | const isBigEndian = false
10 |
--------------------------------------------------------------------------------
/src/fabric/samples/fabcar/java/config/checkstyle/suppressions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/endian_little.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 | //
5 | // +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le
6 |
7 | package unix
8 |
9 | const isBigEndian = false
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/xeipuuv/gojsonreference/README.md:
--------------------------------------------------------------------------------
1 | # gojsonreference
2 | An implementation of JSON Reference - Go language
3 |
4 | ## Dependencies
5 | https://github.com/xeipuuv/gojsonpointer
6 |
7 | ## References
8 | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07
9 |
10 | http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03
11 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/collections-config.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "CollectionOne",
4 | "policy": "OR('Org1MSP.member')",
5 | "requiredPeerCount": 0,
6 | "maxPeerCount": 1,
7 | "blockToLive": 0,
8 | "memberOnlyRead": false,
9 | "endorsementPolicy": {
10 | "signaturePolicy": "OR('Org1MSP.member')"
11 | }
12 | }
13 | ]
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/env.go:
--------------------------------------------------------------------------------
1 | package packr
2 |
3 | import (
4 | "github.com/gobuffalo/envy"
5 | )
6 |
7 | // GoPath returns the current GOPATH env var
8 | // or if it's missing, the default.
9 | var GoPath = envy.GoPath
10 |
11 | // GoBin returns the current GO_BIN env var
12 | // or if it's missing, a default of "go"
13 | var GoBin = envy.GoBin
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/gobuffalo/packr
2 |
3 | go 1.12
4 |
5 | require (
6 | github.com/gobuffalo/envy v1.7.0
7 | github.com/gobuffalo/packd v0.3.0
8 | github.com/gobuffalo/packr/v2 v2.5.1
9 | github.com/spf13/cobra v0.0.5
10 | github.com/stretchr/testify v1.3.0
11 | golang.org/x/sync v0.0.0-20190423024810-112230192c58
12 | )
13 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/xeipuuv/gojsonschema/glide.yaml:
--------------------------------------------------------------------------------
1 | package: github.com/xeipuuv/gojsonschema
2 | license: Apache 2.0
3 | import:
4 | - package: github.com/xeipuuv/gojsonschema
5 |
6 | - package: github.com/xeipuuv/gojsonpointer
7 |
8 | - package: github.com/xeipuuv/gojsonreference
9 |
10 | testImport:
11 | - package: github.com/stretchr/testify
12 | subpackages:
13 | - assert
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/constants.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | package unix
8 |
9 | const (
10 | R_OK = 0x4
11 | W_OK = 0x2
12 | X_OK = 0x1
13 | )
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/constants.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | package unix
8 |
9 | const (
10 | R_OK = 0x4
11 | W_OK = 0x2
12 | X_OK = 0x1
13 | )
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/assets/FixedAsset.go:
--------------------------------------------------------------------------------
1 | package assets
2 |
3 | // FixedAsset - fixed asset
4 | type FixedAsset struct {
5 | Doctype string `json:"docType"`
6 | UUID string `json:"uuid"`
7 | Creator string `json:"creator"`
8 | Bytesize int `json:"byteSize"`
9 | Content string `json:"content"`
10 | }
11 |
12 | type PrivateAssetContent struct {
13 | Content FixedAsset `json:"content"`
14 | }
15 |
--------------------------------------------------------------------------------
/src/fabric/samples/marbles/node/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "marbles",
3 | "version": "1.0.0",
4 | "description": "marbles chaincode implemented in node.js",
5 | "engines": {
6 | "node": ">=8.4.0",
7 | "npm": ">=5.3.0"
8 | },
9 | "scripts": {
10 | "start": "node marbles.js"
11 | },
12 | "engine-strict": true,
13 | "license": "Apache-2.0",
14 | "dependencies": {
15 | "fabric-shim": "^2.2.0"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build amd64,linux
6 | // +build !gccgo
7 |
8 | package unix
9 |
10 | import "syscall"
11 |
12 | //go:noescape
13 | func gettimeofday(tv *Timeval) (err syscall.Errno)
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build amd64,linux
6 | // +build !gccgo
7 |
8 | package unix
9 |
10 | import "syscall"
11 |
12 | //go:noescape
13 | func gettimeofday(tv *Timeval) (err syscall.Errno)
14 |
--------------------------------------------------------------------------------
/src/fabric/samples/marbles-norichquery/node/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "marbles",
3 | "version": "1.0.0",
4 | "description": "marbles chaincode implemented in node.js",
5 | "engines": {
6 | "node": ">=8.4.0",
7 | "npm": ">=5.3.0"
8 | },
9 | "scripts": {
10 | "start": "node marbles.js"
11 | },
12 | "engine-strict": true,
13 | "license": "Apache-2.0",
14 | "dependencies": {
15 | "fabric-shim": "^2.2.0"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/fabric/scenario/simple/node/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "simpletest",
3 | "version": "0.0.0",
4 | "description": "Simple chaincode implemented in node.js",
5 | "engines": {
6 | "node": ">=8.4.0",
7 | "npm": ">=5.3.0"
8 | },
9 | "scripts": {
10 | "start": "node simpletest.js"
11 | },
12 | "engine-strict": true,
13 | "license": "Apache-2.0",
14 | "dependencies": {
15 | "fabric-shim": "^2.2.0"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Git Ignore file
2 | .idea/
3 | launch.json
4 |
5 | # No logs
6 | *.log
7 | /log
8 |
9 | # No html
10 | *.html
11 |
12 | # No mac files
13 | .DS_Store
14 |
15 | # Limited npm runtime artifacts
16 | node_modules/*
17 | package-lock.json
18 | # until an npm project skeleton is not provided for the repo, we should ignore the user-generated root package.json
19 | /package.json
20 |
21 | **/__pycache__/**
22 |
23 | pkg
24 | bin
25 | .vscode
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/.codeclimate.yml:
--------------------------------------------------------------------------------
1 | ---
2 | engines:
3 | golint:
4 | enabled: true
5 | checks:
6 | GoLint/Naming/MixedCaps:
7 | enabled: false
8 | govet:
9 | enabled: true
10 | gofmt:
11 | enabled: true
12 | fixme:
13 | enabled: true
14 | ratings:
15 | paths:
16 | - "**.go"
17 | exclude_paths:
18 | - "**/*_test.go"
19 | - "*_test.go"
20 | - "fixtures/"
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build go1.10
6 |
7 | package bidirule
8 |
9 | func (t *Transformer) isFinal() bool {
10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
11 | }
12 |
--------------------------------------------------------------------------------
/src/fabric/samples/README.md:
--------------------------------------------------------------------------------
1 | # Fabric Samples
2 |
3 | This folder contains the source chaincode files that are directed to the samples released for the blockchain technologies (Hyperledger Caliper).
4 |
5 | ## Samples
6 | >Current Hyperledger Caliper samples:
7 |
8 | * **fabcar**: requires fabric v1.4.0+
9 | * **marbles**: supported by all fabric versions
10 | * **marbles-norichquery** (a variation of marbles): supported by all fabric versions
11 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build go1.10
6 |
7 | package bidirule
8 |
9 | func (t *Transformer) isFinal() bool {
10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
11 | }
12 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/node/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "fixed-asset-base",
3 | "version": "1.0.0",
4 | "description": "Chaincode to create assets of user provided size",
5 | "engines": {
6 | "node": ">=8.4.0",
7 | "npm": ">=5.3.0"
8 | },
9 | "scripts": {
10 | "start": "node fixed-asset-base.js"
11 | },
12 | "engine-strict": true,
13 | "license": "Apache-2.0",
14 | "dependencies": {
15 | "fabric-shim": "^2.2.0"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/.gitignore:
--------------------------------------------------------------------------------
1 | *.log
2 | .DS_Store
3 | doc
4 | tmp
5 | pkg
6 | *.gem
7 | *.pid
8 | coverage
9 | coverage.data
10 | build/*
11 | *.pbxuser
12 | *.mode1v3
13 | .svn
14 | profile
15 | .console_history
16 | .sass-cache/*
17 | .rake_tasks~
18 | *.log.lck
19 | solr/
20 | .jhw-cache/
21 | jhw.*
22 | *.sublime*
23 | node_modules/
24 | dist/
25 | generated/
26 | .vendor/
27 | bin/*
28 | gin-bin
29 | .idea/
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/.gitignore:
--------------------------------------------------------------------------------
1 | *.log
2 | .DS_Store
3 | doc
4 | tmp
5 | pkg
6 | *.gem
7 | *.pid
8 | coverage
9 | coverage.data
10 | build/*
11 | *.pbxuser
12 | *.mode1v3
13 | .svn
14 | profile
15 | .console_history
16 | .sass-cache/*
17 | .rake_tasks~
18 | *.log.lck
19 | solr/
20 | .jhw-cache/
21 | jhw.*
22 | *.sublime*
23 | node_modules/
24 | dist/
25 | generated/
26 | .vendor/
27 | bin/*
28 | gin-bin
29 | .idea/
30 | .env
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/jsonreference/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/go-openapi/jsonreference
2 |
3 | require (
4 | github.com/PuerkitoBio/purell v1.1.1
5 | github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
6 | github.com/go-openapi/jsonpointer v0.19.2
7 | github.com/stretchr/testify v1.3.0
8 | golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 // indirect
9 | golang.org/x/text v0.3.2 // indirect
10 | )
11 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/aliases.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 | // +build go1.9
7 |
8 | package unix
9 |
10 | import "syscall"
11 |
12 | type Signal = syscall.Signal
13 | type Errno = syscall.Errno
14 | type SysProcAttr = syscall.SysProcAttr
15 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/aliases.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 | // +build go1.9
7 |
8 | package unix
9 |
10 | import "syscall"
11 |
12 | type Signal = syscall.Signal
13 | type Errno = syscall.Errno
14 | type SysProcAttr = syscall.SysProcAttr
15 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/internal/takeon/github.com/markbates/errx/.gitignore:
--------------------------------------------------------------------------------
1 | *.log
2 | .DS_Store
3 | doc
4 | tmp
5 | pkg
6 | *.gem
7 | *.pid
8 | coverage
9 | coverage.data
10 | build/*
11 | *.pbxuser
12 | *.mode1v3
13 | .svn
14 | profile
15 | .console_history
16 | .sass-cache/*
17 | .rake_tasks~
18 | *.log.lck
19 | solr/
20 | .jhw-cache/
21 | jhw.*
22 | *.sublime*
23 | node_modules/
24 | dist/
25 | generated/
26 | .vendor/
27 | bin/*
28 | gin-bin
29 | .idea/
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/pagesize_unix.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | // For Unix, get the pagesize from the runtime.
8 |
9 | package unix
10 |
11 | import "syscall"
12 |
13 | func Getpagesize() int {
14 | return syscall.Getpagesize()
15 | }
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !go1.10
6 |
7 | package bidirule
8 |
9 | func (t *Transformer) isFinal() bool {
10 | if !t.isRTL() {
11 | return true
12 | }
13 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
14 | }
15 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/pagesize_unix.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | // For Unix, get the pagesize from the runtime.
8 |
9 | package unix
10 |
11 | import "syscall"
12 |
13 | func Getpagesize() int {
14 | return syscall.Getpagesize()
15 | }
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !go1.10
6 |
7 | package bidirule
8 |
9 | func (t *Transformer) isFinal() bool {
10 | if !t.isRTL() {
11 | return true
12 | }
13 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
14 | }
15 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/internal/takeon/github.com/markbates/errx/errx.go:
--------------------------------------------------------------------------------
1 | package errx
2 |
3 | // go2 errors
4 | type Wrapper interface {
5 | Unwrap() error
6 | }
7 |
8 | // pkg/errors
9 | type Causer interface {
10 | Cause() error
11 | }
12 |
13 | func Unwrap(err error) error {
14 | switch e := err.(type) {
15 | case Wrapper:
16 | return e.Unwrap()
17 | case Causer:
18 | return e.Cause()
19 | }
20 | return err
21 | }
22 |
23 | var Cause = Unwrap
24 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/mailru/easyjson/jlexer/error.go:
--------------------------------------------------------------------------------
1 | package jlexer
2 |
3 | import "fmt"
4 |
5 | // LexerError implements the error interface and represents all possible errors that can be
6 | // generated during parsing the JSON data.
7 | type LexerError struct {
8 | Reason string
9 | Offset int
10 | Data string
11 | }
12 |
13 | func (l *LexerError) Error() string {
14 | return fmt.Sprintf("parse error: %s near offset %d of '%s'", l.Reason, l.Offset, l.Data)
15 | }
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/swag/.golangci.yml:
--------------------------------------------------------------------------------
1 | linters-settings:
2 | govet:
3 | check-shadowing: true
4 | golint:
5 | min-confidence: 0
6 | gocyclo:
7 | min-complexity: 25
8 | maligned:
9 | suggest-new: true
10 | dupl:
11 | threshold: 100
12 | goconst:
13 | min-len: 3
14 | min-occurrences: 2
15 |
16 | linters:
17 | enable-all: true
18 | disable:
19 | - maligned
20 | - lll
21 | - gochecknoinits
22 | - gochecknoglobals
23 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/readdirent_getdents.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix dragonfly freebsd linux netbsd openbsd
6 |
7 | package unix
8 |
9 | // ReadDirent reads directory entries from fd and writes them into buf.
10 | func ReadDirent(fd int, buf []byte) (n int, err error) {
11 | return Getdents(fd, buf)
12 | }
13 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/readdirent_getdents.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix dragonfly freebsd linux netbsd openbsd
6 |
7 | package unix
8 |
9 | // ReadDirent reads directory entries from fd and writes them into buf.
10 | func ReadDirent(fd int, buf []byte) (n int, err error) {
11 | return Getdents(fd, buf)
12 | }
13 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go:
--------------------------------------------------------------------------------
1 | // +build linux,386 linux,arm linux,mips linux,mipsle
2 |
3 | // Copyright 2014 The Go Authors. All rights reserved.
4 | // Use of this source code is governed by a BSD-style
5 | // license that can be found in the LICENSE file.
6 |
7 | package unix
8 |
9 | func init() {
10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's
11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
12 | fcntl64Syscall = SYS_FCNTL64
13 | }
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go:
--------------------------------------------------------------------------------
1 | // +build linux,386 linux,arm linux,mips linux,mipsle
2 |
3 | // Copyright 2014 The Go Authors. All rights reserved.
4 | // Use of this source code is governed by a BSD-style
5 | // license that can be found in the LICENSE file.
6 |
7 | package unix
8 |
9 | func init() {
10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's
11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
12 | fcntl64Syscall = SYS_FCNTL64
13 | }
14 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go:
--------------------------------------------------------------------------------
1 | // This file is included to the build if any of the buildtags below
2 | // are defined. Refer to README notes for more details.
3 |
4 | //+build easyjson_nounsafe appengine
5 |
6 | package jlexer
7 |
8 | // bytesToStr creates a string normally from []byte
9 | //
10 | // Note that this method is roughly 1.5x slower than using the 'unsafe' method.
11 | func bytesToStr(data []byte) string {
12 | return string(data)
13 | }
14 |
--------------------------------------------------------------------------------
/benchmarks/samples/fabric/README.md:
--------------------------------------------------------------------------------
1 | # Sample tests
2 |
3 | This folder contains tests that are directed to the samples released for Hyperledger Caliper
4 |
5 | ## Samples
6 | Current Hyperledger Caliper samples:
7 | * **fabcar** (for fabric v1.4.0+): the fabcar benchmark contains a series of transactions which demonstrate querying and updating car assets on a ledger.
8 | * **marbles** (for all fabric versions): the marbles benchmark contains a series of transactions which demonstrate transferring marbles between multiple marble owners.
9 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/utils/Context.go:
--------------------------------------------------------------------------------
1 | package utils
2 |
3 | import "github.com/hyperledger/fabric-chaincode-go/shim"
4 |
5 | // Context - simple context object
6 | type Context struct {
7 | stub shim.ChaincodeStubInterface
8 | }
9 |
10 | // GetStub - return the chaincode stub
11 | func (ctx *Context) GetStub() shim.ChaincodeStubInterface {
12 | return ctx.stub
13 | }
14 |
15 | // NewContext - create new context
16 | func NewContext(stub shim.ChaincodeStubInterface) Context {
17 | return Context{stub}
18 | }
19 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/spec/.golangci.yml:
--------------------------------------------------------------------------------
1 | linters-settings:
2 | govet:
3 | check-shadowing: true
4 | golint:
5 | min-confidence: 0
6 | gocyclo:
7 | min-complexity: 45
8 | maligned:
9 | suggest-new: true
10 | dupl:
11 | threshold: 200
12 | goconst:
13 | min-len: 2
14 | min-occurrences: 2
15 |
16 | linters:
17 | enable-all: true
18 | disable:
19 | - maligned
20 | - unparam
21 | - lll
22 | - gochecknoinits
23 | - gochecknoglobals
24 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/hyperledger/fabric-contract-api-go/contractapi/utils/undefined_interface.go:
--------------------------------------------------------------------------------
1 | // Copyright the Hyperledger Fabric contributors. All rights reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package utils
5 |
6 | // UndefinedInterface the type of nil passed to an after transaction when
7 | // the contract function called as part of the transaction does not specify
8 | // a success return type or its return type is interface{} and value nil
9 | type UndefinedInterface struct{}
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/node/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "fixed-asset",
3 | "version": "1.0.0",
4 | "description": "Chaincode to create assets of user provided size",
5 | "main": "index.js",
6 | "engineStrict": true,
7 | "engines": {
8 | "node": ">=10",
9 | "npm": ">=6"
10 | },
11 | "scripts": {
12 | "start": "fabric-chaincode-node start"
13 | },
14 | "engine-strict": true,
15 | "license": "Apache-2.0",
16 | "dependencies": {
17 | "fabric-contract-api": "^2.2.0",
18 | "fabric-shim": "^2.2.0"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/benchmarks/samples/fabric/marbles/config.yaml:
--------------------------------------------------------------------------------
1 | test:
2 | workers:
3 | number: 5
4 | rounds:
5 | - label: init
6 | txNumber: 500
7 | rateControl:
8 | type: fixed-rate
9 | opts:
10 | tps: 25
11 | workload:
12 | module: benchmarks/samples/fabric/marbles/init.js
13 | - label: query
14 | txDuration: 15
15 | rateControl:
16 | type: fixed-rate
17 | opts:
18 | tps: 5
19 | workload:
20 | module: benchmarks/samples/fabric/marbles/query.js
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go
11 | //
12 |
13 | TEXT ·syscall6(SB),NOSPLIT,$0-88
14 | JMP syscall·syscall6(SB)
15 |
16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88
17 | JMP syscall·rawSyscall6(SB)
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go
11 | //
12 |
13 | TEXT ·syscall6(SB),NOSPLIT,$0-88
14 | JMP syscall·syscall6(SB)
15 |
16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88
17 | JMP syscall·rawSyscall6(SB)
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/internal/takeon/github.com/markbates/errx/SHOULDERS.md:
--------------------------------------------------------------------------------
1 | # github.com/markbates/errx Stands on the Shoulders of Giants
2 |
3 | github.com/markbates/errx does not try to reinvent the wheel! Instead, it uses the already great wheels developed by the Go community and puts them all together in the best way possible. Without these giants, this project would not be possible. Please make sure to check them out and thank them for all of their hard work.
4 |
5 | Thank you to the following **GIANTS**:
6 |
7 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2014 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go
11 | //
12 |
13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88
14 | JMP syscall·sysvicall6(SB)
15 |
16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88
17 | JMP syscall·rawSysvicall6(SB)
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2014 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go
11 | //
12 |
13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88
14 | JMP syscall·sysvicall6(SB)
15 |
16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88
17 | JMP syscall·rawSysvicall6(SB)
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/.gitignore:
--------------------------------------------------------------------------------
1 | *.log
2 | ./packr2
3 | .DS_Store
4 | doc
5 | tmp
6 | pkg
7 | *.gem
8 | *.pid
9 | coverage
10 | coverage.data
11 | build/*
12 | *.pbxuser
13 | *.mode1v3
14 | .svn
15 | profile
16 | .console_history
17 | .sass-cache/*
18 | .rake_tasks~
19 | *.log.lck
20 | solr/
21 | .jhw-cache/
22 | jhw.*
23 | *.sublime*
24 | node_modules/
25 | dist/
26 | generated/
27 | .vendor/
28 | bin/*
29 | gin-bin
30 | /packr_darwin_amd64
31 | /packr_linux_amd64
32 | .vscode/
33 | debug.test
34 | .grifter/
35 | *-packr.go
36 |
37 |
--------------------------------------------------------------------------------
/networks/prometheus-grafana/prometheus/prometheus-bare.yml:
--------------------------------------------------------------------------------
1 | global:
2 | scrape_interval: 1s
3 | external_labels:
4 | monitor: 'devopsage-monitor'
5 |
6 | scrape_configs:
7 | - job_name: cadvisor
8 | scrape_interval: 5s
9 | static_configs:
10 | - targets: ['cadvisor:8080']
11 | - job_name: caliper
12 | scrape_interval: 5s
13 | static_configs:
14 | # assume single local caliper worker here, exposed on port 3000.
15 | # host.docker.internal if on mac
16 | # localhost otherwise
17 | - targets: ['host.docker.internal:3000', 'localhost:3000']
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build gccgo,linux,amd64
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | //extern gettimeofday
12 | func realGettimeofday(*Timeval, *byte) int32
13 |
14 | func gettimeofday(tv *Timeval) (err syscall.Errno) {
15 | r := realGettimeofday(tv, nil)
16 | if r < 0 {
17 | return syscall.GetErrno()
18 | }
19 | return 0
20 | }
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build gccgo,linux,amd64
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | //extern gettimeofday
12 | func realGettimeofday(*Timeval, *byte) int32
13 |
14 | func gettimeofday(tv *Timeval) (err syscall.Errno) {
15 | r := realGettimeofday(tv, nil)
16 | if r < 0 {
17 | return syscall.GetErrno()
18 | }
19 | return 0
20 | }
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/.goreleaser.yml.plush:
--------------------------------------------------------------------------------
1 | builds:
2 | -
3 | goos:
4 | - darwin
5 | - linux
6 | - windows
7 | env:
8 | - CGO_ENABLED=0
9 | main: ./packr/main.go
10 | binary: packr
11 |
12 | checksum:
13 | name_template: 'checksums.txt'
14 |
15 | snapshot:
16 | name_template: "{{ .Tag }}-next"
17 |
18 | changelog:
19 | sort: asc
20 | filters:
21 | exclude:
22 | - '^docs:'
23 | - '^test:'
24 | <%= if (brew) { %>
25 | brew:
26 | github:
27 | owner: gobuffalo
28 | name: homebrew-tap
29 | <% } %>
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/azure-tests.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - task: GoTool@0
3 | inputs:
4 | version: $(go_version)
5 | - task: Bash@3
6 | inputs:
7 | targetType: inline
8 | script: |
9 | mkdir -p "$(GOBIN)"
10 | mkdir -p "$(GOPATH)/pkg"
11 | mkdir -p "$(modulePath)"
12 | shopt -s extglob
13 | mv !(gopath) "$(modulePath)"
14 | displayName: "Setup Go Workspace"
15 | - script: |
16 | go get -t -v ./...
17 | go test -race ./...
18 | workingDirectory: "$(modulePath)"
19 | displayName: "Tests"
20 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/azure-tests.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - task: GoTool@0
3 | inputs:
4 | version: $(go_version)
5 | - task: Bash@3
6 | inputs:
7 | targetType: inline
8 | script: |
9 | mkdir -p "$(GOBIN)"
10 | mkdir -p "$(GOPATH)/pkg"
11 | mkdir -p "$(modulePath)"
12 | shopt -s extglob
13 | mv !(gopath) "$(modulePath)"
14 | displayName: "Setup Go Workspace"
15 | - script: |
16 | go get -t -v ./...
17 | go test -race ./...
18 | workingDirectory: "$(modulePath)"
19 | displayName: "Tests"
20 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/swag/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/go-openapi/swag
2 |
3 | require (
4 | github.com/davecgh/go-spew v1.1.1 // indirect
5 | github.com/kr/pretty v0.1.0 // indirect
6 | github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63
7 | github.com/stretchr/testify v1.3.0
8 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
9 | gopkg.in/yaml.v2 v2.2.2
10 | )
11 |
12 | replace github.com/golang/lint => golang.org/x/lint v0.0.0-20190409202823-959b441ac422
13 |
14 | replace sourcegraph.com/sourcegraph/go-diff => github.com/sourcegraph/go-diff v0.5.1
15 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_linux_gc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build linux,!gccgo
6 |
7 | package unix
8 |
9 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail.
10 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
11 |
12 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't
13 | // fail.
14 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
15 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_linux_gc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build linux,!gccgo
6 |
7 | package unix
8 |
9 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail.
10 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
11 |
12 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't
13 | // fail.
14 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
15 |
--------------------------------------------------------------------------------
/src/fabric/samples/fabcar/node/.eslintignore:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed under the Apache License, Version 2.0 (the "License");
3 | # you may not use this file except in compliance with the License.
4 | # You may obtain a copy of the License at
5 | #
6 | # http://www.apache.org/licenses/LICENSE-2.0
7 | #
8 | # Unless required by applicable law or agreed to in writing, software
9 | # distributed under the License is distributed on an "AS IS" BASIS,
10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 | # See the License for the specific language governing permissions and
12 | # limitations under the License.
13 | #
14 |
15 | coverage
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/internal/takeon/github.com/markbates/errx/azure-tests.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - task: GoTool@0
3 | inputs:
4 | version: $(go_version)
5 | - task: Bash@3
6 | inputs:
7 | targetType: inline
8 | script: |
9 | mkdir -p "$(GOBIN)"
10 | mkdir -p "$(GOPATH)/pkg"
11 | mkdir -p "$(modulePath)"
12 | shopt -s extglob
13 | mv !(gopath) "$(modulePath)"
14 | displayName: "Setup Go Workspace"
15 | - script: |
16 | go get -t -v ./...
17 | go test -race ./...
18 | workingDirectory: "$(modulePath)"
19 | displayName: "Tests"
20 |
--------------------------------------------------------------------------------
/src/fabric/samples/marbles/go/go.mod:
--------------------------------------------------------------------------------
1 | module fabric/samples/marbles/go
2 |
3 | go 1.17
4 |
5 | require (
6 | github.com/hyperledger/fabric-chaincode-go v0.0.0-20220131132609-1476cf1d3206
7 | github.com/hyperledger/fabric-protos-go v0.0.0-20220315113721-7dc293e117f7
8 | )
9 |
10 | require (
11 | github.com/golang/protobuf v1.3.2 // indirect
12 | golang.org/x/net v0.0.0-20190522155817-f3200d17e092 // indirect
13 | golang.org/x/sys v0.0.0-20190710143415-6ec70d6a5542 // indirect
14 | golang.org/x/text v0.3.0 // indirect
15 | google.golang.org/genproto v0.0.0-20180831171423-11092d34479b // indirect
16 | google.golang.org/grpc v1.23.0 // indirect
17 | )
18 |
--------------------------------------------------------------------------------
/src/fabric/scenario/simple/go/go.mod:
--------------------------------------------------------------------------------
1 | module fabric/scenario/simple/go
2 |
3 | go 1.17
4 |
5 | require (
6 | github.com/hyperledger/fabric-chaincode-go v0.0.0-20220131132609-1476cf1d3206
7 | github.com/hyperledger/fabric-protos-go v0.0.0-20220315113721-7dc293e117f7
8 | )
9 |
10 | require (
11 | github.com/golang/protobuf v1.3.2 // indirect
12 | golang.org/x/net v0.0.0-20190522155817-f3200d17e092 // indirect
13 | golang.org/x/sys v0.0.0-20190710143415-6ec70d6a5542 // indirect
14 | golang.org/x/text v0.3.0 // indirect
15 | google.golang.org/genproto v0.0.0-20180831171423-11092d34479b // indirect
16 | google.golang.org/grpc v1.23.0 // indirect
17 | )
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/net/http2/not_go111.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !go1.11
6 |
7 | package http2
8 |
9 | import (
10 | "net/http/httptrace"
11 | "net/textproto"
12 | )
13 |
14 | func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool { return false }
15 |
16 | func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) {}
17 |
18 | func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error {
19 | return nil
20 | }
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/gopkg.in/yaml.v2/NOTICE:
--------------------------------------------------------------------------------
1 | Copyright 2011-2016 Canonical Ltd.
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License.
14 |
--------------------------------------------------------------------------------
/src/fabric/scenario/smallbank/go/go.mod:
--------------------------------------------------------------------------------
1 | module fabric/scenario/smallbank/go
2 |
3 | go 1.17
4 |
5 | require (
6 | github.com/hyperledger/fabric-chaincode-go v0.0.0-20220131132609-1476cf1d3206
7 | github.com/hyperledger/fabric-protos-go v0.0.0-20220315113721-7dc293e117f7
8 | )
9 |
10 | require (
11 | github.com/golang/protobuf v1.3.2 // indirect
12 | golang.org/x/net v0.0.0-20190522155817-f3200d17e092 // indirect
13 | golang.org/x/sys v0.0.0-20190710143415-6ec70d6a5542 // indirect
14 | golang.org/x/text v0.3.0 // indirect
15 | google.golang.org/genproto v0.0.0-20180831171423-11092d34479b // indirect
16 | google.golang.org/grpc v1.23.0 // indirect
17 | )
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/net/http2/not_go111.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !go1.11
6 |
7 | package http2
8 |
9 | import (
10 | "net/http/httptrace"
11 | "net/textproto"
12 | )
13 |
14 | func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool { return false }
15 |
16 | func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) {}
17 |
18 | func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error {
19 | return nil
20 | }
21 |
--------------------------------------------------------------------------------
/src/fabric/samples/fabcar/java/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed under the Apache License, Version 2.0 (the "License");
3 | * you may not use this file except in compliance with the License.
4 | * You may obtain a copy of the License at
5 | *
6 | * http://www.apache.org/licenses/LICENSE-2.0
7 | *
8 | * Unless required by applicable law or agreed to in writing, software
9 | * distributed under the License is distributed on an "AS IS" BASIS,
10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 | * See the License for the specific language governing permissions and
12 | * limitations under the License.
13 | */
14 |
15 | rootProject.name = 'fabcar'
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/.goreleaser.yml:
--------------------------------------------------------------------------------
1 | # Code generated by github.com/gobuffalo/release. DO NOT EDIT.
2 | # Edit .goreleaser.yml.plush instead
3 |
4 | builds:
5 | -
6 | goos:
7 | - darwin
8 | - linux
9 | - windows
10 | env:
11 | - CGO_ENABLED=0
12 | main: ./packr/main.go
13 | binary: packr
14 |
15 | checksum:
16 | name_template: 'checksums.txt'
17 |
18 | snapshot:
19 | name_template: "{{ .Tag }}-next"
20 |
21 | changelog:
22 | sort: asc
23 | filters:
24 | exclude:
25 | - '^docs:'
26 | - '^test:'
27 |
28 | brew:
29 | github:
30 | owner: gobuffalo
31 | name: homebrew-tap
32 |
33 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/race0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2012 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
6 |
7 | package unix
8 |
9 | import (
10 | "unsafe"
11 | )
12 |
13 | const raceenabled = false
14 |
15 | func raceAcquire(addr unsafe.Pointer) {
16 | }
17 |
18 | func raceReleaseMerge(addr unsafe.Pointer) {
19 | }
20 |
21 | func raceReadRange(addr unsafe.Pointer, len int) {
22 | }
23 |
24 | func raceWriteRange(addr unsafe.Pointer, len int) {
25 | }
26 |
--------------------------------------------------------------------------------
/src/fabric/samples/marbles-norichquery/go/go.mod:
--------------------------------------------------------------------------------
1 | module fabric/samples/marbles-norichquery/go
2 |
3 | go 1.17
4 |
5 | require (
6 | github.com/hyperledger/fabric-chaincode-go v0.0.0-20220131132609-1476cf1d3206
7 | github.com/hyperledger/fabric-protos-go v0.0.0-20220315113721-7dc293e117f7
8 | )
9 |
10 | require (
11 | github.com/golang/protobuf v1.3.2 // indirect
12 | golang.org/x/net v0.0.0-20190522155817-f3200d17e092 // indirect
13 | golang.org/x/sys v0.0.0-20190710143415-6ec70d6a5542 // indirect
14 | golang.org/x/text v0.3.0 // indirect
15 | google.golang.org/genproto v0.0.0-20180831171423-11092d34479b // indirect
16 | google.golang.org/grpc v1.23.0 // indirect
17 | )
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/race0.go:
--------------------------------------------------------------------------------
1 | // Copyright 2012 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
6 |
7 | package unix
8 |
9 | import (
10 | "unsafe"
11 | )
12 |
13 | const raceenabled = false
14 |
15 | func raceAcquire(addr unsafe.Pointer) {
16 | }
17 |
18 | func raceReleaseMerge(addr unsafe.Pointer) {
19 | }
20 |
21 | func raceReadRange(addr unsafe.Pointer, len int) {
22 | }
23 |
24 | func raceWriteRange(addr unsafe.Pointer, len int) {
25 | }
26 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build amd64,solaris
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: usec}
15 | }
16 |
17 | func (iov *Iovec) SetLen(length int) {
18 | iov.Len = uint64(length)
19 | }
20 |
21 | func (cmsg *Cmsghdr) SetLen(length int) {
22 | cmsg.Len = uint32(length)
23 | }
24 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build amd64,solaris
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: usec}
15 | }
16 |
17 | func (iov *Iovec) SetLen(length int) {
18 | iov.Len = uint64(length)
19 | }
20 |
21 | func (cmsg *Cmsghdr) SetLen(length int) {
22 | cmsg.Len = uint32(length)
23 | }
24 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/SHOULDERS.md:
--------------------------------------------------------------------------------
1 | # github.com/gobuffalo/packd Stands on the Shoulders of Giants
2 |
3 | github.com/gobuffalo/packd does not try to reinvent the wheel! Instead, it uses the already great wheels developed by the Go community and puts them all together in the best way possible. Without these giants, this project would not be possible. Please make sure to check them out and thank them for all of their hard work.
4 |
5 | Thank you to the following **GIANTS**:
6 |
7 |
8 | * [github.com/davecgh/go-spew](https://godoc.org/github.com/davecgh/go-spew)
9 |
10 | * [github.com/stretchr/testify](https://godoc.org/github.com/stretchr/testify)
11 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/spec/.editorconfig:
--------------------------------------------------------------------------------
1 | # top-most EditorConfig file
2 | root = true
3 |
4 | # Unix-style newlines with a newline ending every file
5 | [*]
6 | end_of_line = lf
7 | insert_final_newline = true
8 | indent_style = space
9 | indent_size = 2
10 | trim_trailing_whitespace = true
11 |
12 | # Set default charset
13 | [*.{js,py,go,scala,rb,java,html,css,less,sass,md}]
14 | charset = utf-8
15 |
16 | # Tab indentation (no size specified)
17 | [*.go]
18 | indent_style = tab
19 |
20 | [*.md]
21 | trim_trailing_whitespace = false
22 |
23 | # Matches the exact files either package.json or .travis.yml
24 | [{package.json,.travis.yml}]
25 | indent_style = space
26 | indent_size = 2
27 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/spec/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/go-openapi/spec
2 |
3 | require (
4 | github.com/go-openapi/jsonpointer v0.19.3
5 | github.com/go-openapi/jsonreference v0.19.2
6 | github.com/go-openapi/swag v0.19.5
7 | github.com/kr/pty v1.1.5 // indirect
8 | github.com/stretchr/objx v0.2.0 // indirect
9 | github.com/stretchr/testify v1.3.0
10 | golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8 // indirect
11 | golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 // indirect
12 | golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f // indirect
13 | golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59 // indirect
14 | gopkg.in/yaml.v2 v2.2.2
15 | )
16 |
17 | go 1.13
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/swag/.editorconfig:
--------------------------------------------------------------------------------
1 | # top-most EditorConfig file
2 | root = true
3 |
4 | # Unix-style newlines with a newline ending every file
5 | [*]
6 | end_of_line = lf
7 | insert_final_newline = true
8 | indent_style = space
9 | indent_size = 2
10 | trim_trailing_whitespace = true
11 |
12 | # Set default charset
13 | [*.{js,py,go,scala,rb,java,html,css,less,sass,md}]
14 | charset = utf-8
15 |
16 | # Tab indentation (no size specified)
17 | [*.go]
18 | indent_style = tab
19 |
20 | [*.md]
21 | trim_trailing_whitespace = false
22 |
23 | # Matches the exact files either package.json or .travis.yml
24 | [{package.json,.travis.yml}]
25 | indent_style = space
26 | indent_size = 2
27 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build linux,!gccgo,386
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | // Underlying system call writes to newoffset via pointer.
12 | // Implemented in assembly to avoid allocation.
13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
14 |
15 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
16 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
17 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build linux,!gccgo,386
6 |
7 | package unix
8 |
9 | import "syscall"
10 |
11 | // Underlying system call writes to newoffset via pointer.
12 | // Implemented in assembly to avoid allocation.
13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
14 |
15 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
16 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno)
17 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/PuerkitoBio/urlesc/README.md:
--------------------------------------------------------------------------------
1 | urlesc [](https://travis-ci.org/PuerkitoBio/urlesc) [](http://godoc.org/github.com/PuerkitoBio/urlesc)
2 | ======
3 |
4 | Package urlesc implements query escaping as per RFC 3986.
5 |
6 | It contains some parts of the net/url package, modified so as to allow
7 | some reserved characters incorrectly escaped by net/url (see [issue 5684](https://github.com/golang/go/issues/5684)).
8 |
9 | ## Install
10 |
11 | go get github.com/PuerkitoBio/urlesc
12 |
13 | ## License
14 |
15 | Go license (BSD-3-Clause)
16 |
17 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/fcntl_darwin.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | package unix
6 |
7 | import "unsafe"
8 |
9 | // FcntlInt performs a fcntl syscall on fd with the provided command and argument.
10 | func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
11 | return fcntl(int(fd), cmd, arg)
12 | }
13 |
14 | // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
15 | func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
16 | _, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk))))
17 | return err
18 | }
19 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/fcntl_darwin.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | package unix
6 |
7 | import "unsafe"
8 |
9 | // FcntlInt performs a fcntl syscall on fd with the provided command and argument.
10 | func FcntlInt(fd uintptr, cmd, arg int) (int, error) {
11 | return fcntl(int(fd), cmd, arg)
12 | }
13 |
14 | // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
15 | func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
16 | _, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk))))
17 | return err
18 | }
19 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/jsonpointer/.editorconfig:
--------------------------------------------------------------------------------
1 | # top-most EditorConfig file
2 | root = true
3 |
4 | # Unix-style newlines with a newline ending every file
5 | [*]
6 | end_of_line = lf
7 | insert_final_newline = true
8 | indent_style = space
9 | indent_size = 2
10 | trim_trailing_whitespace = true
11 |
12 | # Set default charset
13 | [*.{js,py,go,scala,rb,java,html,css,less,sass,md}]
14 | charset = utf-8
15 |
16 | # Tab indentation (no size specified)
17 | [*.go]
18 | indent_style = tab
19 |
20 | [*.md]
21 | trim_trailing_whitespace = false
22 |
23 | # Matches the exact files either package.json or .travis.yml
24 | [{package.json,.travis.yml}]
25 | indent_style = space
26 | indent_size = 2
27 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/file_info.go:
--------------------------------------------------------------------------------
1 | package packd
2 |
3 | import (
4 | "os"
5 | "time"
6 | )
7 |
8 | var _ os.FileInfo = fileInfo{}
9 |
10 | type fileInfo struct {
11 | Path string
12 | size int64
13 | modTime time.Time
14 | isDir bool
15 | }
16 |
17 | func (f fileInfo) Name() string {
18 | return f.Path
19 | }
20 |
21 | func (f fileInfo) Size() int64 {
22 | return f.size
23 | }
24 |
25 | func (f fileInfo) Mode() os.FileMode {
26 | return 0444
27 | }
28 |
29 | func (f fileInfo) ModTime() time.Time {
30 | return f.modTime
31 | }
32 |
33 | func (f fileInfo) IsDir() bool {
34 | return f.isDir
35 | }
36 |
37 | func (f fileInfo) Sys() interface{} {
38 | return nil
39 | }
40 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build linux,gccgo,arm
6 |
7 | package unix
8 |
9 | import (
10 | "syscall"
11 | "unsafe"
12 | )
13 |
14 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
15 | var newoffset int64
16 | offsetLow := uint32(offset & 0xffffffff)
17 | offsetHigh := uint32((offset >> 32) & 0xffffffff)
18 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0)
19 | return newoffset, err
20 | }
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_unix_gc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris
6 | // +build !gccgo,!ppc64le,!ppc64
7 |
8 | package unix
9 |
10 | import "syscall"
11 |
12 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
13 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
14 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
15 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build linux,gccgo,arm
6 |
7 | package unix
8 |
9 | import (
10 | "syscall"
11 | "unsafe"
12 | )
13 |
14 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
15 | var newoffset int64
16 | offsetLow := uint32(offset & 0xffffffff)
17 | offsetHigh := uint32((offset >> 32) & 0xffffffff)
18 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0)
19 | return newoffset, err
20 | }
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_unix_gc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris
6 | // +build !gccgo,!ppc64le,!ppc64
7 |
8 | package unix
9 |
10 | import "syscall"
11 |
12 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
13 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
14 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
15 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/azure-tests.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - task: GoTool@0
3 | inputs:
4 | version: $(go_version)
5 | - task: Bash@3
6 | inputs:
7 | targetType: inline
8 | script: |
9 | mkdir -p "$(GOBIN)"
10 | mkdir -p "$(GOPATH)/pkg"
11 | mkdir -p "$(modulePath)"
12 | shopt -s extglob
13 | mv !(gopath) "$(modulePath)"
14 | displayName: "Setup Go Workspace"
15 | - script: |
16 | go get -t -v ./...
17 | go test -race ./...
18 | go install -v ./packr
19 | cd v2
20 | go get -t -v ./...
21 | go test -race ./...
22 | go install -v ./packr2
23 | workingDirectory: "$(modulePath)"
24 | displayName: "Tests"
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/net/http2/README:
--------------------------------------------------------------------------------
1 | This is a work-in-progress HTTP/2 implementation for Go.
2 |
3 | It will eventually live in the Go standard library and won't require
4 | any changes to your code to use. It will just be automatic.
5 |
6 | Status:
7 |
8 | * The server support is pretty good. A few things are missing
9 | but are being worked on.
10 | * The client work has just started but shares a lot of code
11 | is coming along much quicker.
12 |
13 | Docs are at https://godoc.org/golang.org/x/net/http2
14 |
15 | Demo test server at https://http2.golang.org/
16 |
17 | Help & bug reports welcome!
18 |
19 | Contributing: https://golang.org/doc/contribute.html
20 | Bugs: https://golang.org/issue/new?title=x/net/http2:+
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/google.golang.org/grpc/codegen.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | # This script serves as an example to demonstrate how to generate the gRPC-Go
4 | # interface and the related messages from .proto file.
5 | #
6 | # It assumes the installation of i) Google proto buffer compiler at
7 | # https://github.com/google/protobuf (after v2.6.1) and ii) the Go codegen
8 | # plugin at https://github.com/golang/protobuf (after 2015-02-20). If you have
9 | # not, please install them first.
10 | #
11 | # We recommend running this script at $GOPATH/src.
12 | #
13 | # If this is not what you need, feel free to make your own scripts. Again, this
14 | # script is for demonstration purpose.
15 | #
16 | proto=$1
17 | protoc --go_out=plugins=grpc:. $proto
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/net/http2/README:
--------------------------------------------------------------------------------
1 | This is a work-in-progress HTTP/2 implementation for Go.
2 |
3 | It will eventually live in the Go standard library and won't require
4 | any changes to your code to use. It will just be automatic.
5 |
6 | Status:
7 |
8 | * The server support is pretty good. A few things are missing
9 | but are being worked on.
10 | * The client work has just started but shares a lot of code
11 | is coming along much quicker.
12 |
13 | Docs are at https://godoc.org/golang.org/x/net/http2
14 |
15 | Demo test server at https://http2.golang.org/
16 |
17 | Help & bug reports welcome!
18 |
19 | Contributing: https://golang.org/doc/contribute.html
20 | Bugs: https://golang.org/issue/new?title=x/net/http2:+
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/google.golang.org/grpc/codegen.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | # This script serves as an example to demonstrate how to generate the gRPC-Go
4 | # interface and the related messages from .proto file.
5 | #
6 | # It assumes the installation of i) Google proto buffer compiler at
7 | # https://github.com/google/protobuf (after v2.6.1) and ii) the Go codegen
8 | # plugin at https://github.com/golang/protobuf (after 2015-02-20). If you have
9 | # not, please install them first.
10 | #
11 | # We recommend running this script at $GOPATH/src.
12 | #
13 | # If this is not what you need, feel free to make your own scripts. Again, this
14 | # script is for demonstration purpose.
15 | #
16 | proto=$1
17 | protoc --go_out=plugins=grpc:. $proto
18 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/str.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | package unix
8 |
9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency
10 | if val < 0 {
11 | return "-" + uitoa(uint(-val))
12 | }
13 | return uitoa(uint(val))
14 | }
15 |
16 | func uitoa(val uint) string {
17 | var buf [32]byte // big enough for int64
18 | i := len(buf) - 1
19 | for val >= 10 {
20 | buf[i] = byte(val%10 + '0')
21 | i--
22 | val /= 10
23 | }
24 | buf[i] = byte(val + '0')
25 | return string(buf[i:])
26 | }
27 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/str.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | package unix
8 |
9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency
10 | if val < 0 {
11 | return "-" + uitoa(uint(-val))
12 | }
13 | return uitoa(uint(val))
14 | }
15 |
16 | func uitoa(val uint) string {
17 | var buf [32]byte // big enough for int64
18 | i := len(buf) - 1
19 | for val >= 10 {
20 | buf[i] = byte(val%10 + '0')
21 | i--
22 | val /= 10
23 | }
24 | buf[i] = byte(val + '0')
25 | return string(buf[i:])
26 | }
27 |
--------------------------------------------------------------------------------
/src/fabric/samples/fabcar/node/index.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed under the Apache License, Version 2.0 (the "License");
3 | * you may not use this file except in compliance with the License.
4 | * You may obtain a copy of the License at
5 | *
6 | * http://www.apache.org/licenses/LICENSE-2.0
7 | *
8 | * Unless required by applicable law or agreed to in writing, software
9 | * distributed under the License is distributed on an "AS IS" BASIS,
10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 | * See the License for the specific language governing permissions and
12 | * limitations under the License.
13 | */
14 |
15 | 'use strict';
16 |
17 | const FabCar = require('./lib/fabcar');
18 |
19 | module.exports.FabCar = FabCar;
20 | module.exports.contracts = [ FabCar ];
21 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/race.go:
--------------------------------------------------------------------------------
1 | // Copyright 2012 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build darwin,race linux,race freebsd,race
6 |
7 | package unix
8 |
9 | import (
10 | "runtime"
11 | "unsafe"
12 | )
13 |
14 | const raceenabled = true
15 |
16 | func raceAcquire(addr unsafe.Pointer) {
17 | runtime.RaceAcquire(addr)
18 | }
19 |
20 | func raceReleaseMerge(addr unsafe.Pointer) {
21 | runtime.RaceReleaseMerge(addr)
22 | }
23 |
24 | func raceReadRange(addr unsafe.Pointer, len int) {
25 | runtime.RaceReadRange(addr, len)
26 | }
27 |
28 | func raceWriteRange(addr unsafe.Pointer, len int) {
29 | runtime.RaceWriteRange(addr, len)
30 | }
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/race.go:
--------------------------------------------------------------------------------
1 | // Copyright 2012 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build darwin,race linux,race freebsd,race
6 |
7 | package unix
8 |
9 | import (
10 | "runtime"
11 | "unsafe"
12 | )
13 |
14 | const raceenabled = true
15 |
16 | func raceAcquire(addr unsafe.Pointer) {
17 | runtime.RaceAcquire(addr)
18 | }
19 |
20 | func raceReleaseMerge(addr unsafe.Pointer) {
21 | runtime.RaceReleaseMerge(addr)
22 | }
23 |
24 | func raceReadRange(addr unsafe.Pointer, len int) {
25 | runtime.RaceReadRange(addr, len)
26 | }
27 |
28 | func raceWriteRange(addr unsafe.Pointer, len int) {
29 | runtime.RaceWriteRange(addr, len)
30 | }
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/env_unix.go:
--------------------------------------------------------------------------------
1 | // Copyright 2010 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | // Unix environment variables.
8 |
9 | package unix
10 |
11 | import "syscall"
12 |
13 | func Getenv(key string) (value string, found bool) {
14 | return syscall.Getenv(key)
15 | }
16 |
17 | func Setenv(key, value string) error {
18 | return syscall.Setenv(key, value)
19 | }
20 |
21 | func Clearenv() {
22 | syscall.Clearenv()
23 | }
24 |
25 | func Environ() []string {
26 | return syscall.Environ()
27 | }
28 |
29 | func Unsetenv(key string) error {
30 | return syscall.Unsetenv(key)
31 | }
32 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/env_unix.go:
--------------------------------------------------------------------------------
1 | // Copyright 2010 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | // Unix environment variables.
8 |
9 | package unix
10 |
11 | import "syscall"
12 |
13 | func Getenv(key string) (value string, found bool) {
14 | return syscall.Getenv(key)
15 | }
16 |
17 | func Setenv(key, value string) error {
18 | return syscall.Setenv(key, value)
19 | }
20 |
21 | func Clearenv() {
22 | syscall.Clearenv()
23 | }
24 |
25 | func Environ() []string {
26 | return syscall.Environ()
27 | }
28 |
29 | func Unsetenv(key string) error {
30 | return syscall.Unsetenv(key)
31 | }
32 |
--------------------------------------------------------------------------------
/src/fabric/samples/fabcar/java/README.md:
--------------------------------------------------------------------------------
1 | # Java FabCar contract sample
2 |
3 | The directions for using this sample are documented in the Hyperledger Fabric
4 | [Writing Your First Application](https://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html) tutorial.
5 |
6 | The tutorial is based on JavaScript, however the same concepts are applicable when using Java.
7 |
8 | To install and instantiate the Java version of `FabCar`, use the following command instead of the command shown in the [Launch the network](https://hyperledger-fabric.readthedocs.io/en/release-1.4/write_first_app.html#launch-the-network) section of the tutorial:
9 |
10 | ```
11 | ./startFabric.sh javascript
12 | ```
13 |
14 | *NOTE:* After navigating to the documentation, choose the documentation version that matches your version of Fabric
15 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/gopkg.in/yaml.v2/writerc.go:
--------------------------------------------------------------------------------
1 | package yaml
2 |
3 | // Set the writer error and return false.
4 | func yaml_emitter_set_writer_error(emitter *yaml_emitter_t, problem string) bool {
5 | emitter.error = yaml_WRITER_ERROR
6 | emitter.problem = problem
7 | return false
8 | }
9 |
10 | // Flush the output buffer.
11 | func yaml_emitter_flush(emitter *yaml_emitter_t) bool {
12 | if emitter.write_handler == nil {
13 | panic("write handler not set")
14 | }
15 |
16 | // Check if the buffer is empty.
17 | if emitter.buffer_pos == 0 {
18 | return true
19 | }
20 |
21 | if err := emitter.write_handler(emitter, emitter.buffer[:emitter.buffer_pos]); err != nil {
22 | return yaml_emitter_set_writer_error(emitter, "write error: "+err.Error())
23 | }
24 | emitter.buffer_pos = 0
25 | return true
26 | }
27 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/google.golang.org/grpc/version.go:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright 2018 gRPC authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *
17 | */
18 |
19 | package grpc
20 |
21 | // Version is the current grpc version.
22 | const Version = "1.23.0"
23 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/google.golang.org/grpc/version.go:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright 2018 gRPC authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *
17 | */
18 |
19 | package grpc
20 |
21 | // Version is the current grpc version.
22 | const Version = "1.23.0"
23 |
--------------------------------------------------------------------------------
/networks/prometheus-grafana/prometheus/prometheus-fabric.yml:
--------------------------------------------------------------------------------
1 | global:
2 | scrape_interval: 1s
3 | external_labels:
4 | monitor: 'devopsage-monitor'
5 |
6 | scrape_configs:
7 | - job_name: 'fabric'
8 |
9 | # Retain labels
10 | honor_labels: true
11 | # Assumes local caliper workers are scrape targets, only one here
12 | static_configs:
13 | - targets: ['peer0.org1.example.com:9443', 'peer0.org2.example.com:9443']
14 | - job_name: cadvisor
15 | scrape_interval: 5s
16 | static_configs:
17 | - targets: ['cadvisor:8080']
18 | - job_name: caliper
19 | scrape_interval: 5s
20 | static_configs:
21 | # assume single local caliper worker here, exposed on port 3000.
22 | # host.docker.internal if on mac
23 | # localhost otherwise
24 | - targets: ['host.docker.internal:3000', 'localhost:3000']
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_freebsd_arm.s:
--------------------------------------------------------------------------------
1 | // Copyright 2012 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM, FreeBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | B syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | B syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | B syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | B syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | B syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_netbsd_arm.s:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM, NetBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | B syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | B syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | B syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | B syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | B syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_openbsd_arm.s:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM, OpenBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | B syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | B syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | B syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | B syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | B syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/samples/fabcar/go/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/hyperledger/fabric-samples/chaincode/fabcar/go
2 |
3 | go 1.12
4 |
5 | require (
6 | github.com/Knetic/govaluate v3.0.0+incompatible // indirect
7 | github.com/Shopify/sarama v1.22.1 // indirect
8 | github.com/hashicorp/go-version v1.2.0 // indirect
9 | github.com/hyperledger/fabric v2.0.0-alpha.0.20190624224950-f2b8fef8859c+incompatible
10 | github.com/hyperledger/fabric-amcl v0.0.0-20181230093703-5ccba6eab8d6 // indirect
11 | github.com/miekg/pkcs11 v1.0.2 // indirect
12 | github.com/onsi/ginkgo v1.8.0 // indirect
13 | github.com/onsi/gomega v1.5.0 // indirect
14 | github.com/spf13/viper v1.4.0 // indirect
15 | github.com/sykesm/zap-logfmt v0.0.2 // indirect
16 | golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4 // indirect
17 | google.golang.org/grpc v1.21.1 // indirect
18 | )
19 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_freebsd_arm.s:
--------------------------------------------------------------------------------
1 | // Copyright 2012 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM, FreeBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | B syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | B syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | B syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | B syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | B syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_netbsd_arm.s:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM, NetBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | B syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | B syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | B syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | B syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | B syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_openbsd_arm.s:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM, OpenBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | B syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | B syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | B syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | B syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | B syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM64, NetBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | B syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | B syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | B syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | B syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | B syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build darwin
6 |
7 | package unix
8 |
9 | import "unsafe"
10 |
11 | // ReadDirent reads directory entries from fd and writes them into buf.
12 | func ReadDirent(fd int, buf []byte) (n int, err error) {
13 | // Final argument is (basep *uintptr) and the syscall doesn't take nil.
14 | // 64 bits should be enough. (32 bits isn't even on 386). Since the
15 | // actual system call is getdirentries64, 64 is a good guess.
16 | // TODO(rsc): Can we use a single global basep for all calls?
17 | var base = (*uintptr)(unsafe.Pointer(new(uint64)))
18 | return Getdirentries(fd, buf, base)
19 | }
20 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/java/src/main/java/org/example/QueryResponse.java:
--------------------------------------------------------------------------------
1 | package org.example;
2 |
3 | public class QueryResponse {
4 | private T[] results;
5 |
6 | private ResponseMetadata responseMetadata;
7 |
8 | public QueryResponse(T[] results, ResponseMetadata responseMetadata) {
9 | this.results = results;
10 | this.responseMetadata = responseMetadata;
11 | }
12 |
13 | public T[] getResults() {
14 | return results;
15 | }
16 |
17 | public void setResults(T[] results) {
18 | this.results = results;
19 | }
20 |
21 | public ResponseMetadata getResponseMetadata() {
22 | return responseMetadata;
23 | }
24 |
25 | public void setResponseMetadata(ResponseMetadata responseMetadata) {
26 | this.responseMetadata = responseMetadata;
27 | }
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM64, NetBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | B syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | B syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | B syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | B syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | B syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build darwin
6 |
7 | package unix
8 |
9 | import "unsafe"
10 |
11 | // ReadDirent reads directory entries from fd and writes them into buf.
12 | func ReadDirent(fd int, buf []byte) (n int, err error) {
13 | // Final argument is (basep *uintptr) and the syscall doesn't take nil.
14 | // 64 bits should be enough. (32 bits isn't even on 386). Since the
15 | // actual system call is getdirentries64, 64 is a good guess.
16 | // TODO(rsc): Can we use a single global basep for all calls?
17 | var base = (*uintptr)(unsafe.Pointer(new(uint64)))
18 | return Getdirentries(fd, buf, base)
19 | }
20 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_darwin_386.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for 386, Darwin
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_freebsd_386.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for 386, FreeBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_netbsd_386.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for 386, NetBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_openbsd_386.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for 386, OpenBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_darwin_386.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for 386, Darwin
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_freebsd_386.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for 386, FreeBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_netbsd_386.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for 386, NetBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_openbsd_386.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for 386, OpenBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-28
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/SHOULDERS.md:
--------------------------------------------------------------------------------
1 | # github.com/gobuffalo/envy Stands on the Shoulders of Giants
2 |
3 | github.com/gobuffalo/envy does not try to reinvent the wheel! Instead, it uses the already great wheels developed by the Go community and puts them all together in the best way possible. Without these giants, this project would not be possible. Please make sure to check them out and thank them for all of their hard work.
4 |
5 | Thank you to the following **GIANTS**:
6 |
7 |
8 | * [github.com/davecgh/go-spew](https://godoc.org/github.com/davecgh/go-spew)
9 |
10 | * [github.com/joho/godotenv](https://godoc.org/github.com/joho/godotenv)
11 |
12 | * [github.com/rogpeppe/go-internal](https://godoc.org/github.com/rogpeppe/go-internal)
13 |
14 | * [github.com/stretchr/testify](https://godoc.org/github.com/stretchr/testify)
15 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_darwin_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, Darwin
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, FreeBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM64, FreeBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, NetBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, OpenBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for arm64, OpenBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_darwin_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, Darwin
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, FreeBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for ARM64, FreeBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, NetBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, OpenBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_openbsd_arm64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for arm64, OpenBSD
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packd/go.sum:
--------------------------------------------------------------------------------
1 | github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
2 | github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
4 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
5 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
6 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
7 | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
8 | github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
9 | github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
10 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, DragonFly
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 |
7 | #include "textflag.h"
8 |
9 | //
10 | // System call support for AMD64, DragonFly
11 | //
12 |
13 | // Just jump to package syscall's implementation for all these functions.
14 | // The runtime may know about them.
15 |
16 | TEXT ·Syscall(SB),NOSPLIT,$0-56
17 | JMP syscall·Syscall(SB)
18 |
19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
20 | JMP syscall·Syscall6(SB)
21 |
22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
23 | JMP syscall·Syscall9(SB)
24 |
25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
26 | JMP syscall·RawSyscall(SB)
27 |
28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
29 | JMP syscall·RawSyscall6(SB)
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_darwin_arm.s:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 | // +build arm,darwin
7 |
8 | #include "textflag.h"
9 |
10 | //
11 | // System call support for ARM, Darwin
12 | //
13 |
14 | // Just jump to package syscall's implementation for all these functions.
15 | // The runtime may know about them.
16 |
17 | TEXT ·Syscall(SB),NOSPLIT,$0-28
18 | B syscall·Syscall(SB)
19 |
20 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
21 | B syscall·Syscall6(SB)
22 |
23 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
24 | B syscall·Syscall9(SB)
25 |
26 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
27 | B syscall·RawSyscall(SB)
28 |
29 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
30 | B syscall·RawSyscall6(SB)
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_darwin_arm.s:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 | // +build arm,darwin
7 |
8 | #include "textflag.h"
9 |
10 | //
11 | // System call support for ARM, Darwin
12 | //
13 |
14 | // Just jump to package syscall's implementation for all these functions.
15 | // The runtime may know about them.
16 |
17 | TEXT ·Syscall(SB),NOSPLIT,$0-28
18 | B syscall·Syscall(SB)
19 |
20 | TEXT ·Syscall6(SB),NOSPLIT,$0-40
21 | B syscall·Syscall6(SB)
22 |
23 | TEXT ·Syscall9(SB),NOSPLIT,$0-52
24 | B syscall·Syscall9(SB)
25 |
26 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28
27 | B syscall·RawSyscall(SB)
28 |
29 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
30 | B syscall·RawSyscall6(SB)
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/bluetooth_linux.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // Bluetooth sockets and messages
6 |
7 | package unix
8 |
9 | // Bluetooth Protocols
10 | const (
11 | BTPROTO_L2CAP = 0
12 | BTPROTO_HCI = 1
13 | BTPROTO_SCO = 2
14 | BTPROTO_RFCOMM = 3
15 | BTPROTO_BNEP = 4
16 | BTPROTO_CMTP = 5
17 | BTPROTO_HIDP = 6
18 | BTPROTO_AVDTP = 7
19 | )
20 |
21 | const (
22 | HCI_CHANNEL_RAW = 0
23 | HCI_CHANNEL_USER = 1
24 | HCI_CHANNEL_MONITOR = 2
25 | HCI_CHANNEL_CONTROL = 3
26 | )
27 |
28 | // Socketoption Level
29 | const (
30 | SOL_BLUETOOTH = 0x112
31 | SOL_HCI = 0x0
32 | SOL_L2CAP = 0x6
33 | SOL_RFCOMM = 0x12
34 | SOL_SCO = 0x11
35 | )
36 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/bluetooth_linux.go:
--------------------------------------------------------------------------------
1 | // Copyright 2016 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // Bluetooth sockets and messages
6 |
7 | package unix
8 |
9 | // Bluetooth Protocols
10 | const (
11 | BTPROTO_L2CAP = 0
12 | BTPROTO_HCI = 1
13 | BTPROTO_SCO = 2
14 | BTPROTO_RFCOMM = 3
15 | BTPROTO_BNEP = 4
16 | BTPROTO_CMTP = 5
17 | BTPROTO_HIDP = 6
18 | BTPROTO_AVDTP = 7
19 | )
20 |
21 | const (
22 | HCI_CHANNEL_RAW = 0
23 | HCI_CHANNEL_USER = 1
24 | HCI_CHANNEL_MONITOR = 2
25 | HCI_CHANNEL_CONTROL = 3
26 | )
27 |
28 | // Socketoption Level
29 | const (
30 | SOL_BLUETOOTH = 0x112
31 | SOL_HCI = 0x0
32 | SOL_L2CAP = 0x6
33 | SOL_RFCOMM = 0x12
34 | SOL_SCO = 0x11
35 | )
36 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/asm_darwin_arm64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 | // +build arm64,darwin
7 |
8 | #include "textflag.h"
9 |
10 | //
11 | // System call support for AMD64, Darwin
12 | //
13 |
14 | // Just jump to package syscall's implementation for all these functions.
15 | // The runtime may know about them.
16 |
17 | TEXT ·Syscall(SB),NOSPLIT,$0-56
18 | B syscall·Syscall(SB)
19 |
20 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
21 | B syscall·Syscall6(SB)
22 |
23 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
24 | B syscall·Syscall9(SB)
25 |
26 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
27 | B syscall·RawSyscall(SB)
28 |
29 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
30 | B syscall·RawSyscall6(SB)
31 |
--------------------------------------------------------------------------------
/src/fabric/samples/fabcar/node/.editorconfig:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed under the Apache License, Version 2.0 (the "License");
3 | # you may not use this file except in compliance with the License.
4 | # You may obtain a copy of the License at
5 | #
6 | # http://www.apache.org/licenses/LICENSE-2.0
7 | #
8 | # Unless required by applicable law or agreed to in writing, software
9 | # distributed under the License is distributed on an "AS IS" BASIS,
10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 | # See the License for the specific language governing permissions and
12 | # limitations under the License.
13 | #
14 |
15 | root = true
16 |
17 | [*]
18 | indent_style = space
19 | indent_size = 4
20 | end_of_line = lf
21 | charset = utf-8
22 | trim_trailing_whitespace = true
23 | insert_final_newline = true
24 |
25 | [*.md]
26 | trim_trailing_whitespace = false
27 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/asm_darwin_arm64.s:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !gccgo
6 | // +build arm64,darwin
7 |
8 | #include "textflag.h"
9 |
10 | //
11 | // System call support for AMD64, Darwin
12 | //
13 |
14 | // Just jump to package syscall's implementation for all these functions.
15 | // The runtime may know about them.
16 |
17 | TEXT ·Syscall(SB),NOSPLIT,$0-56
18 | B syscall·Syscall(SB)
19 |
20 | TEXT ·Syscall6(SB),NOSPLIT,$0-80
21 | B syscall·Syscall6(SB)
22 |
23 | TEXT ·Syscall9(SB),NOSPLIT,$0-104
24 | B syscall·Syscall9(SB)
25 |
26 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56
27 | B syscall·RawSyscall(SB)
28 |
29 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
30 | B syscall·RawSyscall6(SB)
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/net/http2/go111.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build go1.11
6 |
7 | package http2
8 |
9 | import (
10 | "net/http/httptrace"
11 | "net/textproto"
12 | )
13 |
14 | func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool {
15 | return trace != nil && trace.WroteHeaderField != nil
16 | }
17 |
18 | func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) {
19 | if trace != nil && trace.WroteHeaderField != nil {
20 | trace.WroteHeaderField(k, []string{v})
21 | }
22 | }
23 |
24 | func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error {
25 | if trace != nil {
26 | return trace.Got1xxResponse
27 | }
28 | return nil
29 | }
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/java/src/main/java/org/example/ResponseMetadata.java:
--------------------------------------------------------------------------------
1 | package org.example;
2 |
3 | import org.hyperledger.fabric.protos.peer.ChaincodeShim.QueryResponseMetadata;
4 |
5 | public class ResponseMetadata {
6 | private int RecordsCount;
7 | private String Bookmark;
8 |
9 | public ResponseMetadata(QueryResponseMetadata metadata) {
10 | this.RecordsCount = metadata.getFetchedRecordsCount();
11 | this.Bookmark = metadata.getBookmark();
12 | }
13 |
14 | public int getRecordsCount() {
15 | return RecordsCount;
16 | }
17 |
18 | public void setRecordsCount(int recordsCount) {
19 | RecordsCount = recordsCount;
20 | }
21 |
22 | public String getBookmark() {
23 | return Bookmark;
24 | }
25 |
26 | public void setBookmark(String bookmark) {
27 | Bookmark = bookmark;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/net/http2/go111.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build go1.11
6 |
7 | package http2
8 |
9 | import (
10 | "net/http/httptrace"
11 | "net/textproto"
12 | )
13 |
14 | func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool {
15 | return trace != nil && trace.WroteHeaderField != nil
16 | }
17 |
18 | func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) {
19 | if trace != nil && trace.WroteHeaderField != nil {
20 | trace.WroteHeaderField(k, []string{v})
21 | }
22 | }
23 |
24 | func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error {
25 | if trace != nil {
26 | return trace.Got1xxResponse
27 | }
28 | return nil
29 | }
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/swag/post_go18.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 go-swagger maintainers
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | // +build go1.8
16 |
17 | package swag
18 |
19 | import "net/url"
20 |
21 | func pathUnescape(path string) (string, error) {
22 | return url.PathUnescape(path)
23 | }
24 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/swag/pre_go18.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 go-swagger maintainers
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | // +build !go1.8
16 |
17 | package swag
18 |
19 | import "net/url"
20 |
21 | func pathUnescape(path string) (string, error) {
22 | return url.QueryUnescape(path)
23 | }
24 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/hyperledger/fabric-contract-api-go/metadata/ioutils.go:
--------------------------------------------------------------------------------
1 | // Copyright the Hyperledger Fabric contributors. All rights reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package metadata
5 |
6 | import (
7 | "io/ioutil"
8 | "path"
9 | "runtime"
10 | )
11 |
12 | // For testing!
13 | type ioutilInterface interface {
14 | ReadFile(string) ([]byte, error)
15 | }
16 |
17 | type ioutilFront struct{}
18 |
19 | func (i ioutilFront) ReadFile(filename string) ([]byte, error) {
20 | return ioutil.ReadFile(filename)
21 | }
22 |
23 | var ioutilAbs ioutilInterface = ioutilFront{}
24 |
25 | func readLocalFile(localPath string) ([]byte, error) {
26 | _, filename, _, _ := runtime.Caller(1)
27 |
28 | schemaPath := path.Join(path.Dir(filename), localPath)
29 |
30 | file, err := ioutilAbs.ReadFile(schemaPath)
31 |
32 | return file, err
33 | }
34 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/text/width/trieval.go:
--------------------------------------------------------------------------------
1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
2 |
3 | package width
4 |
5 | // elem is an entry of the width trie. The high byte is used to encode the type
6 | // of the rune. The low byte is used to store the index to a mapping entry in
7 | // the inverseData array.
8 | type elem uint16
9 |
10 | const (
11 | tagNeutral elem = iota << typeShift
12 | tagAmbiguous
13 | tagWide
14 | tagNarrow
15 | tagFullwidth
16 | tagHalfwidth
17 | )
18 |
19 | const (
20 | numTypeBits = 3
21 | typeShift = 16 - numTypeBits
22 |
23 | // tagNeedsFold is true for all fullwidth and halfwidth runes except for
24 | // the Won sign U+20A9.
25 | tagNeedsFold = 0x1000
26 |
27 | // The Korean Won sign is halfwidth, but SHOULD NOT be mapped to a wide
28 | // variant.
29 | wonSign rune = 0x20A9
30 | )
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/google.golang.org/grpc/go.mod:
--------------------------------------------------------------------------------
1 | module google.golang.org/grpc
2 |
3 | require (
4 | cloud.google.com/go v0.26.0 // indirect
5 | github.com/BurntSushi/toml v0.3.1 // indirect
6 | github.com/client9/misspell v0.3.4
7 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
8 | github.com/golang/mock v1.1.1
9 | github.com/golang/protobuf v1.2.0
10 | github.com/google/go-cmp v0.2.0
11 | golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3
12 | golang.org/x/net v0.0.0-20190311183353-d8887717615a
13 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
14 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
15 | golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135
16 | google.golang.org/appengine v1.1.0 // indirect
17 | google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
18 | honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc
19 | )
20 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/google.golang.org/grpc/go.mod:
--------------------------------------------------------------------------------
1 | module google.golang.org/grpc
2 |
3 | require (
4 | cloud.google.com/go v0.26.0 // indirect
5 | github.com/BurntSushi/toml v0.3.1 // indirect
6 | github.com/client9/misspell v0.3.4
7 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
8 | github.com/golang/mock v1.1.1
9 | github.com/golang/protobuf v1.2.0
10 | github.com/google/go-cmp v0.2.0
11 | golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3
12 | golang.org/x/net v0.0.0-20190311183353-d8887717615a
13 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
14 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
15 | golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135
16 | google.golang.org/appengine v1.1.0 // indirect
17 | google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
18 | honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc
19 | )
20 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/dev_darwin.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // Functions to access/create device major and minor numbers matching the
6 | // encoding used in Darwin's sys/types.h header.
7 |
8 | package unix
9 |
10 | // Major returns the major component of a Darwin device number.
11 | func Major(dev uint64) uint32 {
12 | return uint32((dev >> 24) & 0xff)
13 | }
14 |
15 | // Minor returns the minor component of a Darwin device number.
16 | func Minor(dev uint64) uint32 {
17 | return uint32(dev & 0xffffff)
18 | }
19 |
20 | // Mkdev returns a Darwin device number generated from the given major and minor
21 | // components.
22 | func Mkdev(major, minor uint32) uint64 {
23 | return (uint64(major) << 24) | uint64(minor)
24 | }
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/google.golang.org/grpc/doc.go:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright 2015 gRPC authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *
17 | */
18 |
19 | /*
20 | Package grpc implements an RPC system called gRPC.
21 |
22 | See grpc.io for more information about gRPC.
23 | */
24 | package grpc // import "google.golang.org/grpc"
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/dev_darwin.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // Functions to access/create device major and minor numbers matching the
6 | // encoding used in Darwin's sys/types.h header.
7 |
8 | package unix
9 |
10 | // Major returns the major component of a Darwin device number.
11 | func Major(dev uint64) uint32 {
12 | return uint32((dev >> 24) & 0xff)
13 | }
14 |
15 | // Minor returns the minor component of a Darwin device number.
16 | func Minor(dev uint64) uint32 {
17 | return uint32(dev & 0xffffff)
18 | }
19 |
20 | // Mkdev returns a Darwin device number generated from the given major and minor
21 | // components.
22 | func Mkdev(major, minor uint32) uint64 {
23 | return (uint64(major) << 24) | uint64(minor)
24 | }
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/google.golang.org/grpc/doc.go:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Copyright 2015 gRPC authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | *
17 | */
18 |
19 | /*
20 | Package grpc implements an RPC system called gRPC.
21 |
22 | See grpc.io for more information about gRPC.
23 | */
24 | package grpc // import "google.golang.org/grpc"
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/dev_aix_ppc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix
6 | // +build ppc
7 |
8 | // Functions to access/create device major and minor numbers matching the
9 | // encoding used by AIX.
10 |
11 | package unix
12 |
13 | // Major returns the major component of a Linux device number.
14 | func Major(dev uint64) uint32 {
15 | return uint32((dev >> 16) & 0xffff)
16 | }
17 |
18 | // Minor returns the minor component of a Linux device number.
19 | func Minor(dev uint64) uint32 {
20 | return uint32(dev & 0xffff)
21 | }
22 |
23 | // Mkdev returns a Linux device number generated from the given major and minor
24 | // components.
25 | func Mkdev(major, minor uint32) uint64 {
26 | return uint64(((major) << 16) | (minor))
27 | }
28 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/dev_aix_ppc.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix
6 | // +build ppc
7 |
8 | // Functions to access/create device major and minor numbers matching the
9 | // encoding used by AIX.
10 |
11 | package unix
12 |
13 | // Major returns the major component of a Linux device number.
14 | func Major(dev uint64) uint32 {
15 | return uint32((dev >> 16) & 0xffff)
16 | }
17 |
18 | // Minor returns the minor component of a Linux device number.
19 | func Minor(dev uint64) uint32 {
20 | return uint32(dev & 0xffff)
21 | }
22 |
23 | // Mkdev returns a Linux device number generated from the given major and minor
24 | // components.
25 | func Mkdev(major, minor uint32) uint64 {
26 | return uint64(((major) << 16) | (minor))
27 | }
28 |
--------------------------------------------------------------------------------
/benchmarks/api/fabric/create-asset-100.yaml:
--------------------------------------------------------------------------------
1 | test:
2 | name: create-asset-100
3 | description: >-
4 | This is a duration based benchmark targeting a Hyperledger Fabric network
5 | using the `fixed-asset`chaincode invoking the createAsset method which is
6 | a blind write.
7 | workers:
8 | number: 24
9 | rounds:
10 | - label: create-asset-100
11 | description: >-
12 | Test a submitTransaction() Gateway method against the
13 | `fixed-asset`chaincode method named `createAsset`, which inserts
14 | an asset of size 100 bytes into the World State database.
15 | chaincodeID: fixed-asset
16 | txDuration: 120
17 | rateControl:
18 | type: fixed-rate
19 | opts:
20 | tps: 575
21 | workload:
22 | module: benchmarks/api/fabric/workloads/create-asset.js
23 | arguments:
24 | chaincodeID: fixed-asset
25 | byteSize: 100
26 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/mailru/easyjson/jlexer/bytestostr.go:
--------------------------------------------------------------------------------
1 | // This file will only be included to the build if neither
2 | // easyjson_nounsafe nor appengine build tag is set. See README notes
3 | // for more details.
4 |
5 | //+build !easyjson_nounsafe
6 | //+build !appengine
7 |
8 | package jlexer
9 |
10 | import (
11 | "reflect"
12 | "unsafe"
13 | )
14 |
15 | // bytesToStr creates a string pointing at the slice to avoid copying.
16 | //
17 | // Warning: the string returned by the function should be used with care, as the whole input data
18 | // chunk may be either blocked from being freed by GC because of a single string or the buffer.Data
19 | // may be garbage-collected even when the string exists.
20 | func bytesToStr(data []byte) string {
21 | h := (*reflect.SliceHeader)(unsafe.Pointer(&data))
22 | shdr := reflect.StringHeader{Data: h.Data, Len: h.Len}
23 | return *(*string)(unsafe.Pointer(&shdr))
24 | }
25 |
--------------------------------------------------------------------------------
/benchmarks/api/fabric/create-asset-16k.yaml:
--------------------------------------------------------------------------------
1 | test:
2 | name: create-asset-16000
3 | description: >-
4 | This is a duration based benchmark targeting a Hyperledger Fabric network
5 | using the `fixed-asset`chaincode invoking the createAsset method which is
6 | a blind write.
7 | workers:
8 | number: 24
9 | rounds:
10 | - label: create-asset-16000
11 | description: >-
12 | Test a submitTransaction() Gateway method against the
13 | `fixed-asset`chaincode method named `createAsset`, which inserts
14 | an asset of size 16000 bytes into the World State database.
15 | chaincodeID: fixed-asset
16 | txDuration: 120
17 | rateControl:
18 | type: fixed-rate
19 | opts:
20 | tps: 400
21 | workload:
22 | module: benchmarks/api/fabric/workloads/create-asset.js
23 | arguments:
24 | chaincodeID: fixed-asset
25 | byteSize: 16000
26 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build amd64,netbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint64(fd)
19 | k.Filter = uint32(mode)
20 | k.Flags = uint32(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint64(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build arm64,netbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint64(fd)
19 | k.Filter = uint32(mode)
20 | k.Flags = uint32(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint64(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build amd64,netbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint64(fd)
19 | k.Filter = uint32(mode)
20 | k.Flags = uint32(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint64(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build arm64,netbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint64(fd)
19 | k.Filter = uint32(mode)
20 | k.Flags = uint32(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint64(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build 386,netbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: int32(nsec)}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint32(fd)
19 | k.Filter = uint32(mode)
20 | k.Flags = uint32(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint32(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build arm,netbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: int32(nsec)}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint32(fd)
19 | k.Filter = uint32(mode)
20 | k.Flags = uint32(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint32(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build 386,netbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: int32(nsec)}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint32(fd)
19 | k.Filter = uint32(mode)
20 | k.Flags = uint32(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint32(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go:
--------------------------------------------------------------------------------
1 | // Copyright 2013 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build arm,netbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: int32(nsec)}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint32(fd)
19 | k.Filter = uint32(mode)
20 | k.Flags = uint32(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint32(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
--------------------------------------------------------------------------------
/networks/prometheus-grafana/README.md:
--------------------------------------------------------------------------------
1 | # Prometheus/Grafana
2 |
3 | Caliper is able to send information to a Prometheus server, via a Push Gateway. The server is available for direct query via http queries or viewing with Grafana.
4 |
5 | Caliper clients send information under the following labels:
6 | - caliper_tps
7 | - caliper_latency
8 | - caliper_send_rate
9 | - caliper_txn_submitted
10 | - caliper_txn_success
11 | - caliper_txn_failure
12 | - caliper_txn_pending
13 |
14 | Each of the above items are tagged with the client number, test name, and test round
15 |
16 | # Which Docker Compose?
17 |
18 | There are multiple docker-compose-*.yml files:
19 | - docker-compose-bare.yml: used to only stand up a prometheus/grafana system that will scrape from the Prometheus Push Gateway
20 | - docker-compose-fabric.yml: as above with the adition of targeting exported fabric metrics on:
21 | - peer0.org1.example.com:9443
22 | - peer0.org2.example.com:9443
23 |
24 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build linux
6 | // +build ppc64le ppc64
7 | // +build !gccgo
8 |
9 | package unix
10 |
11 | import "syscall"
12 |
13 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
14 | return syscall.Syscall(trap, a1, a2, a3)
15 | }
16 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
17 | return syscall.Syscall6(trap, a1, a2, a3, a4, a5, a6)
18 | }
19 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
20 | return syscall.RawSyscall(trap, a1, a2, a3)
21 | }
22 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
23 | return syscall.RawSyscall6(trap, a1, a2, a3, a4, a5, a6)
24 | }
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/text/width/kind_string.go:
--------------------------------------------------------------------------------
1 | // Code generated by "stringer -type=Kind"; DO NOT EDIT.
2 |
3 | package width
4 |
5 | import "strconv"
6 |
7 | func _() {
8 | // An "invalid array index" compiler error signifies that the constant values have changed.
9 | // Re-run the stringer command to generate them again.
10 | var x [1]struct{}
11 | _ = x[Neutral-0]
12 | _ = x[EastAsianAmbiguous-1]
13 | _ = x[EastAsianWide-2]
14 | _ = x[EastAsianNarrow-3]
15 | _ = x[EastAsianFullwidth-4]
16 | _ = x[EastAsianHalfwidth-5]
17 | }
18 |
19 | const _Kind_name = "NeutralEastAsianAmbiguousEastAsianWideEastAsianNarrowEastAsianFullwidthEastAsianHalfwidth"
20 |
21 | var _Kind_index = [...]uint8{0, 7, 25, 38, 53, 71, 89}
22 |
23 | func (i Kind) String() string {
24 | if i < 0 || i >= Kind(len(_Kind_index)-1) {
25 | return "Kind(" + strconv.FormatInt(int64(i), 10) + ")"
26 | }
27 | return _Kind_name[_Kind_index[i]:_Kind_index[i+1]]
28 | }
29 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_unix_gc_ppc64x.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build linux
6 | // +build ppc64le ppc64
7 | // +build !gccgo
8 |
9 | package unix
10 |
11 | import "syscall"
12 |
13 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
14 | return syscall.Syscall(trap, a1, a2, a3)
15 | }
16 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
17 | return syscall.Syscall6(trap, a1, a2, a3, a4, a5, a6)
18 | }
19 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
20 | return syscall.RawSyscall(trap, a1, a2, a3)
21 | }
22 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
23 | return syscall.RawSyscall6(trap, a1, a2, a3, a4, a5, a6)
24 | }
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/spec/license.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 go-swagger maintainers
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | package spec
16 |
17 | // License information for the exposed API.
18 | //
19 | // For more information: http://goo.gl/8us55a#licenseObject
20 | type License struct {
21 | Name string `json:"name,omitempty"`
22 | URL string `json:"url,omitempty"`
23 | }
24 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go:
--------------------------------------------------------------------------------
1 | // +build !linux appengine
2 |
3 | /*
4 | *
5 | * Copyright 2018 gRPC authors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | */
20 |
21 | package channelz
22 |
23 | // GetSocketOption gets the socket option info of the conn.
24 | func GetSocketOption(c interface{}) *SocketOptionData {
25 | return nil
26 | }
27 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go:
--------------------------------------------------------------------------------
1 | // +build !linux appengine
2 |
3 | /*
4 | *
5 | * Copyright 2018 gRPC authors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | */
20 |
21 | package channelz
22 |
23 | // GetSocketOption gets the socket option info of the conn.
24 | func GetSocketOption(c interface{}) *SocketOptionData {
25 | return nil
26 | }
27 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/hyperledger/fabric-chaincode-go/shim/response.go:
--------------------------------------------------------------------------------
1 | // Copyright the Hyperledger Fabric contributors. All rights reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package shim
5 |
6 | import (
7 | pb "github.com/hyperledger/fabric-protos-go/peer"
8 | )
9 |
10 | const (
11 | // OK constant - status code less than 400, endorser will endorse it.
12 | // OK means init or invoke successfully.
13 | OK = 200
14 |
15 | // ERRORTHRESHOLD constant - status code greater than or equal to 400 will be considered an error and rejected by endorser.
16 | ERRORTHRESHOLD = 400
17 |
18 | // ERROR constant - default error value
19 | ERROR = 500
20 | )
21 |
22 | // Success ...
23 | func Success(payload []byte) pb.Response {
24 | return pb.Response{
25 | Status: OK,
26 | Payload: payload,
27 | }
28 | }
29 |
30 | // Error ...
31 | func Error(msg string) pb.Response {
32 | return pb.Response{
33 | Status: ERROR,
34 | Message: msg,
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/github.com/hyperledger/fabric-chaincode-go/shim/response.go:
--------------------------------------------------------------------------------
1 | // Copyright the Hyperledger Fabric contributors. All rights reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package shim
5 |
6 | import (
7 | pb "github.com/hyperledger/fabric-protos-go/peer"
8 | )
9 |
10 | const (
11 | // OK constant - status code less than 400, endorser will endorse it.
12 | // OK means init or invoke successfully.
13 | OK = 200
14 |
15 | // ERRORTHRESHOLD constant - status code greater than or equal to 400 will be considered an error and rejected by endorser.
16 | ERRORTHRESHOLD = 400
17 |
18 | // ERROR constant - default error value
19 | ERROR = 500
20 | )
21 |
22 | // Success ...
23 | func Success(payload []byte) pb.Response {
24 | return pb.Response{
25 | Status: OK,
26 | Payload: payload,
27 | }
28 | }
29 |
30 | // Error ...
31 | func Error(msg string) pb.Response {
32 | return pb.Response{
33 | Status: ERROR,
34 | Message: msg,
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/spec/README.md:
--------------------------------------------------------------------------------
1 | # OAI object model [](https://travis-ci.org/go-openapi/spec) [](https://codecov.io/gh/go-openapi/spec) [](https://slackin.goswagger.io)
2 |
3 | [](https://raw.githubusercontent.com/go-openapi/spec/master/LICENSE)
4 | [](http://godoc.org/github.com/go-openapi/spec)
5 | [](https://golangci.com)
6 | [](https://goreportcard.com/report/github.com/go-openapi/spec)
7 |
8 | The object model for OpenAPI specification documents.
9 |
10 | Currently supports Swagger 2.0.
11 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/Makefile:
--------------------------------------------------------------------------------
1 | TAGS ?= "sqlite"
2 | GO_BIN ?= go
3 |
4 | install:
5 | packr2
6 | $(GO_BIN) install -v .
7 |
8 | deps:
9 | $(GO_BIN) get github.com/gobuffalo/release
10 | $(GO_BIN) get github.com/gobuffalo/packr/v2/packr2
11 | $(GO_BIN) get -tags ${TAGS} -t ./...
12 | ifeq ($(GO111MODULE),on)
13 | $(GO_BIN) mod tidy
14 | endif
15 |
16 | build:
17 | packr2
18 | $(GO_BIN) build -v .
19 |
20 | test:
21 | packr2
22 | $(GO_BIN) test -tags ${TAGS} ./...
23 |
24 | ci-test:
25 | $(GO_BIN) test -tags ${TAGS} -race ./...
26 |
27 | lint:
28 | gometalinter --vendor ./... --deadline=1m --skip=internal
29 |
30 | update:
31 | $(GO_BIN) get -u -tags ${TAGS}
32 | ifeq ($(GO111MODULE),on)
33 | $(GO_BIN) mod tidy
34 | endif
35 | packr2
36 | make test
37 | make install
38 | ifeq ($(GO111MODULE),on)
39 | $(GO_BIN) mod tidy
40 | endif
41 |
42 | release-test:
43 | $(GO_BIN) test -tags ${TAGS} -race ./...
44 |
45 | release:
46 | release -y -f version.go
47 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/SHOULDERS.md:
--------------------------------------------------------------------------------
1 | # github.com/gobuffalo/packr Stands on the Shoulders of Giants
2 |
3 | github.com/gobuffalo/packr does not try to reinvent the wheel! Instead, it uses the already great wheels developed by the Go community and puts them all together in the best way possible. Without these giants, this project would not be possible. Please make sure to check them out and thank them for all of their hard work.
4 |
5 | Thank you to the following **GIANTS**:
6 |
7 |
8 | * [github.com/gobuffalo/envy](https://godoc.org/github.com/gobuffalo/envy)
9 |
10 | * [github.com/gobuffalo/packd](https://godoc.org/github.com/gobuffalo/packd)
11 |
12 | * [github.com/gobuffalo/packr/v2](https://godoc.org/github.com/gobuffalo/packr/v2)
13 |
14 | * [github.com/spf13/cobra](https://godoc.org/github.com/spf13/cobra)
15 |
16 | * [github.com/stretchr/testify](https://godoc.org/github.com/stretchr/testify)
17 |
18 | * [golang.org/x/sync](https://godoc.org/golang.org/x/sync)
19 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/google.golang.org/grpc/credentials/internal/syscallconn_appengine.go:
--------------------------------------------------------------------------------
1 | // +build appengine
2 |
3 | /*
4 | *
5 | * Copyright 2018 gRPC authors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | */
20 |
21 | package internal
22 |
23 | import (
24 | "net"
25 | )
26 |
27 | // WrapSyscallConn returns newConn on appengine.
28 | func WrapSyscallConn(rawConn, newConn net.Conn) net.Conn {
29 | return newConn
30 | }
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/google.golang.org/grpc/credentials/internal/syscallconn_appengine.go:
--------------------------------------------------------------------------------
1 | // +build appengine
2 |
3 | /*
4 | *
5 | * Copyright 2018 gRPC authors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | */
20 |
21 | package internal
22 |
23 | import (
24 | "net"
25 | )
26 |
27 | // WrapSyscallConn returns newConn on appengine.
28 | func WrapSyscallConn(rawConn, newConn net.Conn) net.Conn {
29 | return newConn
30 | }
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/spec/contact_info.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 go-swagger maintainers
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | package spec
16 |
17 | // ContactInfo contact information for the exposed API.
18 | //
19 | // For more information: http://goo.gl/8us55a#contactObject
20 | type ContactInfo struct {
21 | Name string `json:"name,omitempty"`
22 | URL string `json:"url,omitempty"`
23 | Email string `json:"email,omitempty"`
24 | }
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix
6 | // +build ppc64
7 |
8 | // Functions to access/create device major and minor numbers matching the
9 | // encoding used AIX.
10 |
11 | package unix
12 |
13 | // Major returns the major component of a Linux device number.
14 | func Major(dev uint64) uint32 {
15 | return uint32((dev & 0x3fffffff00000000) >> 32)
16 | }
17 |
18 | // Minor returns the minor component of a Linux device number.
19 | func Minor(dev uint64) uint32 {
20 | return uint32((dev & 0x00000000ffffffff) >> 0)
21 | }
22 |
23 | // Mkdev returns a Linux device number generated from the given major and minor
24 | // components.
25 | func Mkdev(major, minor uint32) uint64 {
26 | var DEVNO64 uint64
27 | DEVNO64 = 0x8000000000000000
28 | return ((uint64(major) << 32) | (uint64(minor) & 0x00000000FFFFFFFF) | DEVNO64)
29 | }
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix
6 | // +build ppc64
7 |
8 | // Functions to access/create device major and minor numbers matching the
9 | // encoding used AIX.
10 |
11 | package unix
12 |
13 | // Major returns the major component of a Linux device number.
14 | func Major(dev uint64) uint32 {
15 | return uint32((dev & 0x3fffffff00000000) >> 32)
16 | }
17 |
18 | // Minor returns the minor component of a Linux device number.
19 | func Minor(dev uint64) uint32 {
20 | return uint32((dev & 0x00000000ffffffff) >> 0)
21 | }
22 |
23 | // Mkdev returns a Linux device number generated from the given major and minor
24 | // components.
25 | func Mkdev(major, minor uint32) uint64 {
26 | var DEVNO64 uint64
27 | DEVNO64 = 0x8000000000000000
28 | return ((uint64(major) << 32) | (uint64(minor) & 0x00000000FFFFFFFF) | DEVNO64)
29 | }
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/jsonreference/README.md:
--------------------------------------------------------------------------------
1 | # gojsonreference [](https://travis-ci.org/go-openapi/jsonreference) [](https://codecov.io/gh/go-openapi/jsonreference) [](https://slackin.goswagger.io)
2 |
3 | [](https://raw.githubusercontent.com/go-openapi/jsonreference/master/LICENSE) [](http://godoc.org/github.com/go-openapi/jsonreference)
4 | An implementation of JSON Reference - Go language
5 |
6 | ## Status
7 | Work in progress ( 90% done )
8 |
9 | ## Dependencies
10 | https://github.com/go-openapi/jsonpointer
11 |
12 | ## References
13 | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07
14 |
15 | http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/spec/external_docs.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 go-swagger maintainers
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | package spec
16 |
17 | // ExternalDocumentation allows referencing an external resource for
18 | // extended documentation.
19 | //
20 | // For more information: http://goo.gl/8us55a#externalDocumentationObject
21 | type ExternalDocumentation struct {
22 | Description string `json:"description,omitempty"`
23 | URL string `json:"url,omitempty"`
24 | }
25 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/dev_netbsd.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // Functions to access/create device major and minor numbers matching the
6 | // encoding used in NetBSD's sys/types.h header.
7 |
8 | package unix
9 |
10 | // Major returns the major component of a NetBSD device number.
11 | func Major(dev uint64) uint32 {
12 | return uint32((dev & 0x000fff00) >> 8)
13 | }
14 |
15 | // Minor returns the minor component of a NetBSD device number.
16 | func Minor(dev uint64) uint32 {
17 | minor := uint32((dev & 0x000000ff) >> 0)
18 | minor |= uint32((dev & 0xfff00000) >> 12)
19 | return minor
20 | }
21 |
22 | // Mkdev returns a NetBSD device number generated from the given major and minor
23 | // components.
24 | func Mkdev(major, minor uint32) uint64 {
25 | dev := (uint64(major) << 8) & 0x000fff00
26 | dev |= (uint64(minor) << 12) & 0xfff00000
27 | dev |= (uint64(minor) << 0) & 0x000000ff
28 | return dev
29 | }
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/dev_netbsd.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // Functions to access/create device major and minor numbers matching the
6 | // encoding used in NetBSD's sys/types.h header.
7 |
8 | package unix
9 |
10 | // Major returns the major component of a NetBSD device number.
11 | func Major(dev uint64) uint32 {
12 | return uint32((dev & 0x000fff00) >> 8)
13 | }
14 |
15 | // Minor returns the minor component of a NetBSD device number.
16 | func Minor(dev uint64) uint32 {
17 | minor := uint32((dev & 0x000000ff) >> 0)
18 | minor |= uint32((dev & 0xfff00000) >> 12)
19 | return minor
20 | }
21 |
22 | // Mkdev returns a NetBSD device number generated from the given major and minor
23 | // components.
24 | func Mkdev(major, minor uint32) uint64 {
25 | dev := (uint64(major) << 8) & 0x000fff00
26 | dev |= (uint64(minor) << 12) & 0xfff00000
27 | dev |= (uint64(minor) << 0) & 0x000000ff
28 | return dev
29 | }
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/dev_openbsd.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // Functions to access/create device major and minor numbers matching the
6 | // encoding used in OpenBSD's sys/types.h header.
7 |
8 | package unix
9 |
10 | // Major returns the major component of an OpenBSD device number.
11 | func Major(dev uint64) uint32 {
12 | return uint32((dev & 0x0000ff00) >> 8)
13 | }
14 |
15 | // Minor returns the minor component of an OpenBSD device number.
16 | func Minor(dev uint64) uint32 {
17 | minor := uint32((dev & 0x000000ff) >> 0)
18 | minor |= uint32((dev & 0xffff0000) >> 8)
19 | return minor
20 | }
21 |
22 | // Mkdev returns an OpenBSD device number generated from the given major and minor
23 | // components.
24 | func Mkdev(major, minor uint32) uint64 {
25 | dev := (uint64(major) << 8) & 0x0000ff00
26 | dev |= (uint64(minor) << 8) & 0xffff0000
27 | dev |= (uint64(minor) << 0) & 0x000000ff
28 | return dev
29 | }
30 |
--------------------------------------------------------------------------------
/benchmarks/scenario/smallbank/config.yaml:
--------------------------------------------------------------------------------
1 | smallbankArgs: &smallbank-args
2 | accountsGenerated: 100
3 | txnPerBatch: 1
4 |
5 | rateControl: &rate
6 | type: fixed-rate
7 | opts:
8 | tps: 20
9 |
10 | test:
11 | name: smallbank
12 | description: Smallbank benchmark for evaluating create, modify, and query operations.
13 | workers:
14 | number: 5
15 | rounds:
16 | - label: create
17 | txNumber: 500
18 | rateControl: *rate
19 | workload:
20 | module: benchmarks/scenario/smallbank/create.js
21 | arguments: *smallbank-args
22 | - label: modify
23 | txNumber: 500
24 | rateControl: *rate
25 | workload:
26 | module: benchmarks/scenario/smallbank/modify.js
27 | arguments: *smallbank-args
28 | - label: query
29 | txNumber: 500
30 | rateControl: *rate
31 | workload:
32 | module: benchmarks/scenario/smallbank/query.js
33 | arguments: *smallbank-args
34 | monitors:
35 | resource:
36 | - module: docker
37 | options:
38 | interval: 1
39 | containers: ['all']
40 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/dev_openbsd.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // Functions to access/create device major and minor numbers matching the
6 | // encoding used in OpenBSD's sys/types.h header.
7 |
8 | package unix
9 |
10 | // Major returns the major component of an OpenBSD device number.
11 | func Major(dev uint64) uint32 {
12 | return uint32((dev & 0x0000ff00) >> 8)
13 | }
14 |
15 | // Minor returns the minor component of an OpenBSD device number.
16 | func Minor(dev uint64) uint32 {
17 | minor := uint32((dev & 0x000000ff) >> 0)
18 | minor |= uint32((dev & 0xffff0000) >> 8)
19 | return minor
20 | }
21 |
22 | // Mkdev returns an OpenBSD device number generated from the given major and minor
23 | // components.
24 | func Mkdev(major, minor uint32) uint64 {
25 | dev := (uint64(major) << 8) & 0x0000ff00
26 | dev |= (uint64(minor) << 8) & 0xffff0000
27 | dev |= (uint64(minor) << 0) & 0x000000ff
28 | return dev
29 | }
30 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/spec/.travis.yml:
--------------------------------------------------------------------------------
1 | after_success:
2 | - bash <(curl -s https://codecov.io/bash)
3 | go:
4 | - 1.11.x
5 | - 1.12.x
6 | install:
7 | - GO111MODULE=off go get -u gotest.tools/gotestsum
8 | env:
9 | - GO111MODULE=on
10 | language: go
11 | notifications:
12 | slack:
13 | secure: QUWvCkBBK09GF7YtEvHHVt70JOkdlNBG0nIKu/5qc4/nW5HP8I2w0SEf/XR2je0eED1Qe3L/AfMCWwrEj+IUZc3l4v+ju8X8R3Lomhme0Eb0jd1MTMCuPcBT47YCj0M7RON7vXtbFfm1hFJ/jLe5+9FXz0hpXsR24PJc5ZIi/ogNwkaPqG4BmndzecpSh0vc2FJPZUD9LT0I09REY/vXR0oQAalLkW0asGD5taHZTUZq/kBpsNxaAFrLM23i4mUcf33M5fjLpvx5LRICrX/57XpBrDh2TooBU6Qj3CgoY0uPRYUmSNxbVx1czNzl2JtEpb5yjoxfVPQeg0BvQM00G8LJINISR+ohrjhkZmAqchDupAX+yFrxTtORa78CtnIL6z/aTNlgwwVD8kvL/1pFA/JWYmKDmz93mV/+6wubGzNSQCstzjkFA4/iZEKewKUoRIAi/fxyscP6L/rCpmY/4llZZvrnyTqVbt6URWpopUpH4rwYqreXAtJxJsfBJIeSmUIiDIOMGkCTvyTEW3fWGmGoqWtSHLoaWDyAIGb7azb+KvfpWtEcoPFWfSWU+LGee0A/YsUhBl7ADB9A0CJEuR8q4BPpKpfLwPKSiKSAXL7zDkyjExyhtgqbSl2jS+rKIHOZNL8JkCcTP2MKMVd563C5rC5FMKqu3S9m2b6380E=
14 | script:
15 | - gotestsum -f short-verbose -- -race -coverprofile=coverage.txt -covermode=atomic ./...
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/swag/.travis.yml:
--------------------------------------------------------------------------------
1 | after_success:
2 | - bash <(curl -s https://codecov.io/bash)
3 | go:
4 | - 1.11.x
5 | - 1.12.x
6 | install:
7 | - GO111MODULE=off go get -u gotest.tools/gotestsum
8 | env:
9 | - GO111MODULE=on
10 | language: go
11 | notifications:
12 | slack:
13 | secure: QUWvCkBBK09GF7YtEvHHVt70JOkdlNBG0nIKu/5qc4/nW5HP8I2w0SEf/XR2je0eED1Qe3L/AfMCWwrEj+IUZc3l4v+ju8X8R3Lomhme0Eb0jd1MTMCuPcBT47YCj0M7RON7vXtbFfm1hFJ/jLe5+9FXz0hpXsR24PJc5ZIi/ogNwkaPqG4BmndzecpSh0vc2FJPZUD9LT0I09REY/vXR0oQAalLkW0asGD5taHZTUZq/kBpsNxaAFrLM23i4mUcf33M5fjLpvx5LRICrX/57XpBrDh2TooBU6Qj3CgoY0uPRYUmSNxbVx1czNzl2JtEpb5yjoxfVPQeg0BvQM00G8LJINISR+ohrjhkZmAqchDupAX+yFrxTtORa78CtnIL6z/aTNlgwwVD8kvL/1pFA/JWYmKDmz93mV/+6wubGzNSQCstzjkFA4/iZEKewKUoRIAi/fxyscP6L/rCpmY/4llZZvrnyTqVbt6URWpopUpH4rwYqreXAtJxJsfBJIeSmUIiDIOMGkCTvyTEW3fWGmGoqWtSHLoaWDyAIGb7azb+KvfpWtEcoPFWfSWU+LGee0A/YsUhBl7ADB9A0CJEuR8q4BPpKpfLwPKSiKSAXL7zDkyjExyhtgqbSl2jS+rKIHOZNL8JkCcTP2MKMVd563C5rC5FMKqu3S9m2b6380E=
14 | script:
15 | - gotestsum -f short-verbose -- -race -coverprofile=coverage.txt -covermode=atomic ./...
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/jsonpointer/README.md:
--------------------------------------------------------------------------------
1 | # gojsonpointer [](https://travis-ci.org/go-openapi/jsonpointer) [](https://codecov.io/gh/go-openapi/jsonpointer) [](https://slackin.goswagger.io)
2 |
3 | [](https://raw.githubusercontent.com/go-openapi/jsonpointer/master/LICENSE) [](http://godoc.org/github.com/go-openapi/jsonpointer)
4 | An implementation of JSON Pointer - Go language
5 |
6 | ## Status
7 | Completed YES
8 |
9 | Tested YES
10 |
11 | ## References
12 | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07
13 |
14 | ### Note
15 | The 4.Evaluation part of the previous reference, starting with 'If the currently referenced value is a JSON array, the reference token MUST contain either...' is not implemented.
16 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Hyperledger Security Policy
2 |
3 | ## Reporting a Security Bug
4 |
5 | If you think you have discovered a security issue in any of the Hyperledger
6 | projects, we'd love to hear from you. We will take all security bugs
7 | seriously and if confirmed upon investigation we will patch it within a
8 | reasonable amount of time and release a public security bulletin discussing
9 | the impact and credit the discoverer.
10 |
11 | There are two ways to report a security bug. The easiest is to email a
12 | description of the flaw and any related information (e.g. reproduction
13 | steps, version) to
14 | [security at hyperledger dot org](mailto:security@hyperledger.org).
15 |
16 | The other way is to file a confidential security bug in our
17 | [JIRA bug tracking system](https://jira.hyperledger.org).
18 | Be sure to set the “Security Level” to “Security issue”.
19 |
20 | The process by which the Hyperledger Security Team handles security bugs
21 | is documented further in our
22 | [Defect Response](https://wiki.hyperledger.org/display/HYP/Defect+Response)
23 | page on our [wiki](https://wiki.hyperledger.org).
24 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/jsonpointer/.travis.yml:
--------------------------------------------------------------------------------
1 | after_success:
2 | - bash <(curl -s https://codecov.io/bash)
3 | go:
4 | - 1.11.x
5 | - 1.12.x
6 | install:
7 | - GO111MODULE=off go get -u gotest.tools/gotestsum
8 | env:
9 | - GO111MODULE=on
10 | language: go
11 | notifications:
12 | slack:
13 | secure: a5VgoiwB1G/AZqzmephPZIhEB9avMlsWSlVnM1dSAtYAwdrQHGTQxAmpOxYIoSPDhWNN5bfZmjd29++UlTwLcHSR+e0kJhH6IfDlsHj/HplNCJ9tyI0zYc7XchtdKgeMxMzBKCzgwFXGSbQGydXTliDNBo0HOzmY3cou/daMFTP60K+offcjS+3LRAYb1EroSRXZqrk1nuF/xDL3792DZUdPMiFR/L/Df6y74D6/QP4sTkTDFQitz4Wy/7jbsfj8dG6qK2zivgV6/l+w4OVjFkxVpPXogDWY10vVXNVynqxfJ7to2d1I9lNCHE2ilBCkWMIPdyJF7hjF8pKW+82yP4EzRh0vu8Xn0HT5MZpQxdRY/YMxNrWaG7SxsoEaO4q5uhgdzAqLYY3TRa7MjIK+7Ur+aqOeTXn6OKwVi0CjvZ6mIU3WUKSwiwkFZMbjRAkSb5CYwMEfGFO/z964xz83qGt6WAtBXNotqCQpTIiKtDHQeLOMfksHImCg6JLhQcWBVxamVgu0G3Pdh8Y6DyPnxraXY95+QDavbjqv7TeYT9T/FNnrkXaTTK0s4iWE5H4ACU0Qvz0wUYgfQrZv0/Hp7V17+rabUwnzYySHCy9SWX/7OV9Cfh31iMp9ZIffr76xmmThtOEqs8TrTtU6BWI3rWwvA9cXQipZTVtL0oswrGw=
14 | script:
15 | - gotestsum -f short-verbose -- -race -coverprofile=coverage.txt -covermode=atomic ./...
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/go-openapi/jsonreference/.travis.yml:
--------------------------------------------------------------------------------
1 | after_success:
2 | - bash <(curl -s https://codecov.io/bash)
3 | go:
4 | - 1.11.x
5 | - 1.12.x
6 | install:
7 | - GO111MODULE=off go get -u gotest.tools/gotestsum
8 | env:
9 | - GO111MODULE=on
10 | language: go
11 | notifications:
12 | slack:
13 | secure: OpQG/36F7DSF00HLm9WZMhyqFCYYyYTsVDObW226cWiR8PWYiNfLZiSEvIzT1Gx4dDjhigKTIqcLhG34CkL5iNXDjm9Yyo2RYhQPlK8NErNqUEXuBqn4RqYHW48VGhEhOyDd4Ei0E2FN5ZbgpvHgtpkdZ6XDi64r3Ac89isP9aPHXQTuv2Jog6b4/OKKiUTftLcTIst0p4Cp3gqOJWf1wnoj+IadWiECNVQT6zb47IYjtyw6+uV8iUjTzdKcRB6Zc6b4Dq7JAg1Zd7Jfxkql3hlKp4PNlRf9Cy7y5iA3G7MLyg3FcPX5z2kmcyPt2jOTRMBWUJ5zIQpOxizAcN8WsT3WWBL5KbuYK6k0PzujrIDLqdxGpNmjkkMfDBT9cKmZpm2FdW+oZgPFJP+oKmAo4u4KJz/vjiPTXgQlN5bmrLuRMCp+AwC5wkIohTqWZVPE2TK6ZSnMYcg/W39s+RP/9mJoyryAvPSpBOLTI+biCgaUCTOAZxNTWpMFc3tPYntc41WWkdKcooZ9JA5DwfcaVFyTGQ3YXz+HvX6G1z/gW0Q/A4dBi9mj2iE1xm7tRTT+4VQ2AXFvSEI1HJpfPgYnwAtwOD1v3Qm2EUHk9sCdtEDR4wVGEPIVn44GnwFMnGKx9JWppMPYwFu3SVDdHt+E+LOlhZUply11Aa+IVrT2KUQ=
14 | script:
15 | - gotestsum -f short-verbose -- -race -coverprofile=coverage.txt -covermode=atomic ./...
16 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/mailru/easyjson/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2016 Mail.Ru Group
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/ioctl.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | package unix
8 |
9 | import "runtime"
10 |
11 | // IoctlSetWinsize performs an ioctl on fd with a *Winsize argument.
12 | //
13 | // To change fd's window size, the req argument should be TIOCSWINSZ.
14 | func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
15 | // TODO: if we get the chance, remove the req parameter and
16 | // hardcode TIOCSWINSZ.
17 | err := ioctlSetWinsize(fd, req, value)
18 | runtime.KeepAlive(value)
19 | return err
20 | }
21 |
22 | // IoctlSetTermios performs an ioctl on fd with a *Termios.
23 | //
24 | // The req value will usually be TCSETA or TIOCSETA.
25 | func IoctlSetTermios(fd int, req uint, value *Termios) error {
26 | // TODO: if we get the chance, remove the req parameter.
27 | err := ioctlSetTermios(fd, req, value)
28 | runtime.KeepAlive(value)
29 | return err
30 | }
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/ioctl.go:
--------------------------------------------------------------------------------
1 | // Copyright 2018 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
6 |
7 | package unix
8 |
9 | import "runtime"
10 |
11 | // IoctlSetWinsize performs an ioctl on fd with a *Winsize argument.
12 | //
13 | // To change fd's window size, the req argument should be TIOCSWINSZ.
14 | func IoctlSetWinsize(fd int, req uint, value *Winsize) error {
15 | // TODO: if we get the chance, remove the req parameter and
16 | // hardcode TIOCSWINSZ.
17 | err := ioctlSetWinsize(fd, req, value)
18 | runtime.KeepAlive(value)
19 | return err
20 | }
21 |
22 | // IoctlSetTermios performs an ioctl on fd with a *Termios.
23 | //
24 | // The req value will usually be TCSETA or TIOCSETA.
25 | func IoctlSetTermios(fd int, req uint, value *Termios) error {
26 | // TODO: if we get the chance, remove the req parameter.
27 | err := ioctlSetTermios(fd, req, value)
28 | runtime.KeepAlive(value)
29 | return err
30 | }
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/hyperledger/fabric-contract-api-go/contractapi/system_contract.go:
--------------------------------------------------------------------------------
1 | // Copyright the Hyperledger Fabric contributors. All rights reserved.
2 | // SPDX-License-Identifier: Apache-2.0
3 |
4 | package contractapi
5 |
6 | // SystemContract contract added to all chaincode to provide access to metdata
7 | type SystemContract struct {
8 | Contract
9 | metadata string
10 | }
11 |
12 | func (sc *SystemContract) setMetadata(metadata string) {
13 | sc.metadata = metadata
14 | }
15 |
16 | // GetMetadata returns JSON formatted metadata of chaincode
17 | // the system contract is part of. This metadata is composed
18 | // of reflected metadata combined with the metadata file
19 | // if used
20 | func (sc *SystemContract) GetMetadata() string {
21 | return sc.metadata
22 | }
23 |
24 | // GetEvaluateTransactions returns the transactions that
25 | // exist in system contract which should be marked as
26 | // evaluate transaction in the metadata. I.e. should be called
27 | // by query transaction
28 | func (sc *SystemContract) GetEvaluateTransactions() []string {
29 | return []string{"GetMetadata"}
30 | }
31 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build amd64,openbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: usec}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint64(fd)
19 | k.Filter = int16(mode)
20 | k.Flags = uint16(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint64(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
35 | // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
36 | // of openbsd/amd64 the syscall is called sysctl instead of __sysctl.
37 | const SYS___SYSCTL = SYS_SYSCTL
38 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build arm64,openbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: usec}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint64(fd)
19 | k.Filter = int16(mode)
20 | k.Flags = uint16(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint64(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
35 | // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
36 | // of openbsd/amd64 the syscall is called sysctl instead of __sysctl.
37 | const SYS___SYSCTL = SYS_SYSCTL
38 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build amd64,openbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: usec}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint64(fd)
19 | k.Filter = int16(mode)
20 | k.Flags = uint16(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint64(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
35 | // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
36 | // of openbsd/amd64 the syscall is called sysctl instead of __sysctl.
37 | const SYS___SYSCTL = SYS_SYSCTL
38 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go:
--------------------------------------------------------------------------------
1 | // Copyright 2019 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build arm64,openbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: nsec}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: usec}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint64(fd)
19 | k.Filter = int16(mode)
20 | k.Flags = uint16(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint64(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
35 | // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
36 | // of openbsd/amd64 the syscall is called sysctl instead of __sysctl.
37 | const SYS___SYSCTL = SYS_SYSCTL
38 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/envy/LICENSE.txt:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 | Copyright (c) 2018 Mark Bates
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5 |
6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/github.com/gobuffalo/packr/LICENSE.txt:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 | Copyright (c) 2016 Mark Bates
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5 |
6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build 386,openbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: int32(nsec)}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint32(fd)
19 | k.Filter = int16(mode)
20 | k.Flags = uint16(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint32(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
35 | // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
36 | // of openbsd/386 the syscall is called sysctl instead of __sysctl.
37 | const SYS___SYSCTL = SYS_SYSCTL
38 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset/go/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build arm,openbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: int32(nsec)}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint32(fd)
19 | k.Filter = int16(mode)
20 | k.Flags = uint16(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint32(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
35 | // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
36 | // of openbsd/arm the syscall is called sysctl instead of __sysctl.
37 | const SYS___SYSCTL = SYS_SYSCTL
38 |
--------------------------------------------------------------------------------
/src/fabric/api/fixed-asset-base/go/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go:
--------------------------------------------------------------------------------
1 | // Copyright 2009 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build 386,openbsd
6 |
7 | package unix
8 |
9 | func setTimespec(sec, nsec int64) Timespec {
10 | return Timespec{Sec: sec, Nsec: int32(nsec)}
11 | }
12 |
13 | func setTimeval(sec, usec int64) Timeval {
14 | return Timeval{Sec: sec, Usec: int32(usec)}
15 | }
16 |
17 | func SetKevent(k *Kevent_t, fd, mode, flags int) {
18 | k.Ident = uint32(fd)
19 | k.Filter = int16(mode)
20 | k.Flags = uint16(flags)
21 | }
22 |
23 | func (iov *Iovec) SetLen(length int) {
24 | iov.Len = uint32(length)
25 | }
26 |
27 | func (msghdr *Msghdr) SetControllen(length int) {
28 | msghdr.Controllen = uint32(length)
29 | }
30 |
31 | func (cmsg *Cmsghdr) SetLen(length int) {
32 | cmsg.Len = uint32(length)
33 | }
34 |
35 | // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
36 | // of openbsd/386 the syscall is called sysctl instead of __sysctl.
37 | const SYS___SYSCTL = SYS_SYSCTL
38 |
--------------------------------------------------------------------------------