Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ok int = iota << 1 Err )
View Source
const API_KEY_SIA = "wizStorage"
View Source
const APP_VENDOR_CODE = "Sia-Agent"
View Source
const COLLECTION_NAME string = "ContentAddress"
Variables ¶
View Source
var Client *firestore.Client
View Source
var Composite string = ""
View Source
var Key string = ""
Functions ¶
func SetContent ¶
func SetContent(link string)
content address is an machine generated address for a particular content. This is similarly to public key but the key is 32bit long. "Set" will hold new link
Types ¶
type Bucket_Service ¶
type Bucket_Service interface { New_Bucket(o *proto.Object) *proto.IObject Preview(query *proto.Query) *proto.QState Download(query *proto.Query) *proto.QState }
func New_Client ¶
func New_Client(ctx *context.Context) Bucket_Service
type DBStorage ¶
Click to show internal directories.
Click to hide internal directories.