Skip to content

Instantly share code, notes, and snippets.

{
"claim": {
"cTypeHash": "0xad52bd7a8bd8a52e03181a99d2743e00d0a5e96fdc0182626655fcf0c0a776d0",
"contents": {
"User ID": "3001257",
"Username": "trusch"
},
"owner": "did:kilt:4siDmerNEBREZJsFoLM95x6cxEho73bCWKEDAXrKdou4a3mH"
},
"claimHashes": [
package queue
import (
"context"
"time"
)
type Task struct {
ID string
Payload []byte
package queue
import (
"context"
"time"
)
type Task struct {
ID string
Payload []byte
package queue
import (
"context"
"time"
)
type Task struct {
ID string
Payload []byte
package queue
import (
"context"
"time"
)
type Task struct {
ID string
Payload []byte
package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"errors"
"io"
"log"
"testing"
package http
import (
"context"
"encoding/json"
"io"
"net/http"
"strconv"
"strings"
"time"
package events
import (
"io"
"github.com/joomcode/errorx"
"github.com/nats-io/go-nats-streaming"
uuid "github.com/satori/go.uuid"
)
package events
import (
"encoding/json"
"io"
"net/http"
"github.com/joomcode/errorx"
"github.com/nats-io/go-nats-streaming"
uuid "github.com/satori/go.uuid"
package main
import (
"encoding/json"
"fmt"
"net/http"
"time"
"github.com/sirupsen/logrus"
"golang.org/x/net/websocket"