Documentation ¶
Index ¶
- Constants
- Variables
- func Err(entry *logrus.Entry, err error) *logrus.Entry
- func Log(p string) *logrus.Entry
- func ParseRequest(w http.ResponseWriter, r *http.Request, data interface{}) bool
- func Reply(w http.ResponseWriter, rep interface{})
- func SetError(prev *error, n error)
- func SetStatus(w http.ResponseWriter, code, msg string)
- func Trace(ctx context.Context, format string, args ...interface{})
- func UidlistOffset(b *flatbuffers.Builder, sorted []uint64) flatbuffers.UOffsetT
- type DirectedEdge
- type Elem
- type Status
- type Uint64Heap
Constants ¶
View Source
const ( E_OK = "E_OK" E_UNAUTHORIZED = "E_UNAUTHORIZED" E_INVALID_METHOD = "E_INVALID_METHOD" E_INVALID_REQUEST = "E_INVALID_REQUEST" E_MISSING_REQUIRED = "E_MISSING_REQUIRED" E_ERROR = "E_ERROR" E_NODATA = "E_NODATA" E_UPTODATE = "E_UPTODATE" E_NOPERMISSION = "E_NOPERMISSION" DUMMY_UUID = "00000000-0000-0000-0000-000000000000" )
Variables ¶
View Source
var Nilbyte []byte
Functions ¶
func ParseRequest ¶
func ParseRequest(w http.ResponseWriter, r *http.Request, data interface{}) bool
func Reply ¶
func Reply(w http.ResponseWriter, rep interface{})
func SetStatus ¶
func SetStatus(w http.ResponseWriter, code, msg string)
func UidlistOffset ¶
func UidlistOffset(b *flatbuffers.Builder, sorted []uint64) flatbuffers.UOffsetT
Types ¶
type DirectedEdge ¶
type Uint64Heap ¶
type Uint64Heap []Elem
func (Uint64Heap) Len ¶
func (h Uint64Heap) Len() int
func (Uint64Heap) Less ¶
func (h Uint64Heap) Less(i, j int) bool
func (*Uint64Heap) Pop ¶
func (h *Uint64Heap) Pop() interface{}
func (*Uint64Heap) Push ¶
func (h *Uint64Heap) Push(x interface{})
func (Uint64Heap) Swap ¶
func (h Uint64Heap) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.