ws

package
v0.0.0-...-a8e4d9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2020 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusOK                  uint32 = 4200
	StatusInternalServerError uint32 = 4500
	ProgramName                      = "ws"
)

Variables

View Source
var BatchInterval = 500 * time.Millisecond

Functions

func Main

func Main()

func NewDualSource

func NewDualSource(redsi *redis.Client, c *config.Config) *dualSource

A logevent.Source that first tries FileTransport, and uses RedisTransport on failure

Types

type Command

type Command interface {
	ID() string
	Exec() error
	Terminate() error
	GetSessionUuid() string
	Authorize(*sqlx.Tx, authz.Service) (bool, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL