glue: github.com/desertbit/glue/backend/global Index | Files

package global

import "github.com/desertbit/glue/backend/global"

Package global provides global types and constants for the backend packages.

Index

Package Files

global.go

Constants

const (
    // Channel buffer sizes:
    ReadChanSize  = 5
    WriteChanSize = 10
)

type SocketType Uses

type SocketType int
const (
    // The available socket types.
    TypeAjaxSocket SocketType = 1 << iota
    TypeWebSocket  SocketType = 1 << iota
)

Package global is imported by 4 packages. Updated 2016-08-01. Refresh now. Tools for package owners.