moar documentation

This commit is contained in:
raz-varren
2016-08-12 14:36:13 -07:00
parent 1ee09caef3
commit 00af69debe
7 changed files with 21 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
/*
Package ssgrpc provides a ss.MultihomeBackend interface that uses grpc with profobufs for synchronizing broadcasts and roomcasts between multiple Sacrificial Socket instances.
*/
package ssgrpc
import (

View File

@@ -1,13 +1,12 @@
/*
Package token is used by package ssgrpc for generating and validating HMAC-SHA256 tokens sent as "per RPC credentials".
*/
package token
import (
"encoding/json"
"errors"
//"fmt"
"github.com/dvsekhvalnov/jose2go"
//"net/http"
//"strings"
//"sync"
"time"
)

View File

@@ -1,3 +1,6 @@
/*
Package ssmongo provides a ss.MultihomeBackend interface that uses MongoDB for synchronizing broadcasts and roomcasts between multiple Sacrificial Socket instances.
*/
package ssmongo
import (

View File

@@ -1,3 +1,6 @@
/*
A complex web app example that implements ssgrpc for synchronizing multiple Sacrificial Socket instances
*/
package main
import (

View File

@@ -1,3 +1,6 @@
/*
A simple web chat app example that does not implement any multihome backends.
*/
package main
import (

View File

@@ -1,3 +1,6 @@
/*
Package log is used all throughout Sacrificial Socket for logging info and error messages
*/
package log
import (

View File

@@ -1,3 +1,6 @@
/*
Package tools is really just used during socket creation to generate random numbers for socket IDs.
*/
package tools
import (