Discover Packages
github.com/gotvc/got
pkg
gotnet
package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Jul 21, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 24
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 cadata .ID `json:"first,omitempty"`
Limit int `json:"limit,omitempty"`
}
type BlobResp struct {
Affected []bool `json:"affected,omitempty"`
IDs []cadata .ID `json:"ids,omitempty"`
}
type BranchInfo struct {
Salt []byte `json:"salt"`
Annotations []branches .Annotation `json:"annotations"`
CreatedAt tai64.TAI64 `json:"created_at"`
}
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"`
Metadata branches .Metadata `json:"metadata,omitempty"`
}
type SpaceRes struct {
Error *WireError `json:"error,omitempty"`
Exists *bool `json:"exists,omitempty"`
Names []string `json:"list,omitempty"`
Info *BranchInfo `json:"info,omitempty"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.