Documentation ¶
Index ¶
Constants ¶
View Source
const AuthorizationHeader = "Authorization"
View Source
const ProtoVersion = multiaddr.P_WSS + 1
View Source
const VenusAPINamespaceHeader = "X-VENUS-API-NAMESPACE"
Variables ¶
View Source
var ( FullAPIVersion0 = NewVer(1, 5, 0) FullAPIVersion1 = NewVer(2, 2, 0) )
semver versions of the rpc api exposed
Functions ¶
func GetInternalStructs ¶
func GetInternalStructs(in interface{}) []interface{}
GetInternalStructs extracts all pointers to 'Internal' sub-structs from the provided pointer to a proxy struct
Types ¶
type APIInfo ¶ added in v1.2.2
func NewAPIInfo ¶ added in v1.2.2
func ParseApiInfo ¶ added in v1.2.2
func (APIInfo) AuthHeader ¶ added in v1.2.2
func (APIInfo) DialArgs ¶ added in v1.2.2
DialArgs parser libp2p address to http/ws protocol, the version argument can be override by address in version
func (APIInfo) SetAuthHeader ¶ added in v1.2.2
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
chain
|
|
v0
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen.
|
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen. |
v0/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
v1
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen.
|
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen. |
v1/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
gateway
|
|
v0
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen.
|
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen. |
v0/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
v1
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen.
|
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen. |
v1/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen.
|
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen. |
client
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen.
|
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen. |
client/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen.
|
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen.
|
Code generated by github.com/filecoin-project/venus/venus-devtool/api-gen. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.