Developing lightweight computation at the DSG edge

Commit 20039d24 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[fetch-demo] Dummy code to test goclidote features


Signed-off-by: Roger Pueyo Centelles's avatarRoger Pueyo Centelles <rpueyo@ac.upc.edu>
parent 964992ec
package main
import (
"fmt"
"uc-monitor-go-test/goclidote"
)
func main() {
fmt.Println("paco")
goclidote.AntidoteSetRegisterInBucket("device-paco", "graphserver", "ttt")
fmt.Println(goclidote.AntidoteReadRegisterInBucket("device-paco", "graphserver"))
}
// Panic on error
func errCheck(err error, message string) {
if err != nil {
fmt.Println(message)
panic(err)
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment