Discover Packages
github.com/gotvc/got
pkg
gotnet
package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Dec 20, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type BlobReq struct {
Op string `json:"op"`
Branch string `json:"branch"`
StoreType StoreType `json:"store_type"`
IDs []cadata .ID `json:"ids,omitempty"`
First []byte `json:"prefix,omitempty"`
Limit int `json:"limit,omitempty"`
}
type BlobResp struct {
Affected []bool `json:"affected,omitempty"`
IDs []cadata .ID `json:"ids,omitempty"`
EOL bool `json:"eol,omitempty"`
}
type CASReq struct {
Name string `json:"name"`
Prev []byte `json:"prev"`
Next []byte `json:"next"`
}
type CASRes struct {
Actual []byte `json:"actual"`
}
type CellReq struct {
CAS *CASReq `json:"cas,omitempty"`
Read *ReadReq `json:"read,omitempty"`
}
OpenFunc is the type a function which returns a view of a Space
based on a PeerID
type ReadReq struct {
Name string `json:"name"`
}
type SpaceReq struct {
Op string `json:"op"`
Name string `json:"name"`
Limit int `json:"limit,omitempty"`
Params branches .Params `json:"params,omitempty"`
}
type SpaceRes struct {
Error *string `json:"error,omitempty"`
Exists *bool `json:"exists,omitempty"`
Names []string `json:"list,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.