lumbermill: github.com/heroku/lumbermill/Godeps/_workspace/src/github.com/apg/lpxgen Index | Files

package lpxgen

import "github.com/heroku/lumbermill/Godeps/_workspace/src/github.com/apg/lpxgen"

Index

Package Files

default.go heroku.go lpxgen.go problog.go

Constants

const (
    TimeFormat = "2006-01-02T15:04:05.000000+00:00"
)

func FormatSyslog Uses

func FormatSyslog(l Log) string

func RandomDrainToken Uses

func RandomDrainToken() string

func RandomFrameId Uses

func RandomFrameId() string

func RandomIPv4 Uses

func RandomIPv4() string

func UUID4 Uses

func UUID4() string

type DefaultLog Uses

type DefaultLog struct{}

func (DefaultLog) Hostname Uses

func (d DefaultLog) Hostname() string

func (DefaultLog) Msg Uses

func (d DefaultLog) Msg() string

func (DefaultLog) Msgid Uses

func (d DefaultLog) Msgid() string

func (DefaultLog) Name Uses

func (d DefaultLog) Name() string

func (DefaultLog) PrivalVersion Uses

func (d DefaultLog) PrivalVersion() string

func (DefaultLog) Procid Uses

func (d DefaultLog) Procid() string

func (DefaultLog) String Uses

func (d DefaultLog) String() string

func (DefaultLog) Time Uses

func (d DefaultLog) Time() string

type HerokuLog Uses

type HerokuLog int
const (
    Router HerokuLog = iota
    DynoMem
    DynoLoad
)

func (HerokuLog) Hostname Uses

func (d HerokuLog) Hostname() string

func (HerokuLog) Msg Uses

func (d HerokuLog) Msg() string

func (HerokuLog) Msgid Uses

func (d HerokuLog) Msgid() string

func (HerokuLog) Name Uses

func (d HerokuLog) Name() string

func (HerokuLog) PrivalVersion Uses

func (d HerokuLog) PrivalVersion() string

func (HerokuLog) Procid Uses

func (d HerokuLog) Procid() string

func (HerokuLog) String Uses

func (d HerokuLog) String() string

func (HerokuLog) Time Uses

func (d HerokuLog) Time() string

type LPXGenerator Uses

type LPXGenerator struct {
    Mincount int
    Maxcount int
    Log      Log
}

func NewGenerator Uses

func NewGenerator(minBatch, maxBatch int, loggen Log) *LPXGenerator

func (*LPXGenerator) Generate Uses

func (g *LPXGenerator) Generate(url string) *http.Request

type Log Uses

type Log interface {
    PrivalVersion() string
    Time() string
    Hostname() string
    Name() string
    Procid() string
    Msgid() string
    Msg() string
    String() string
}

type ProbLog Uses

type ProbLog struct {
    // contains filtered or unexported fields
}

func NewProbLog Uses

func NewProbLog(logs map[Log]float32) *ProbLog

func (*ProbLog) Add Uses

func (p *ProbLog) Add(l Log, prob float32)

func (*ProbLog) Hostname Uses

func (p *ProbLog) Hostname() string

func (*ProbLog) Msg Uses

func (p *ProbLog) Msg() string

func (*ProbLog) Msgid Uses

func (p *ProbLog) Msgid() string

func (*ProbLog) Name Uses

func (p *ProbLog) Name() string

func (*ProbLog) PrivalVersion Uses

func (p *ProbLog) PrivalVersion() string

func (*ProbLog) Procid Uses

func (p *ProbLog) Procid() string

func (*ProbLog) String Uses

func (p *ProbLog) String() string

func (*ProbLog) Time Uses

func (p *ProbLog) Time() string

Package lpxgen imports 6 packages (graph). Updated 2016-07-16. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).