grafana: github.com/AutogrowSystems/grafana/pkg/events Index | Files

package events

import "github.com/AutogrowSystems/grafana/pkg/events"

Index

Package Files

events.go

type Event Uses

type Event struct {
    Timestamp time.Time `json:"timestamp"`
}

type EventBase Uses

type EventBase interface {
    ToOnWriteEvent() *OnTheWireEvent
}

type OnTheWireEvent Uses

type OnTheWireEvent struct {
    EventType string      `json:"event_type"`
    Priority  Priority    `json:"priority"`
    Timestamp time.Time   `json:"timestamp"`
    Payload   interface{} `json:"payload"`
}

func ToOnWriteEvent Uses

func ToOnWriteEvent(event interface{}) (*OnTheWireEvent, error)

type OrgCreated Uses

type OrgCreated struct {
    Timestamp time.Time `json:"timestamp"`
    Id        int64     `json:"id"`
    Name      string    `json:"name"`
}

type OrgUpdated Uses

type OrgUpdated struct {
    Timestamp time.Time `json:"timestamp"`
    Id        int64     `json:"id"`
    Name      string    `json:"name"`
}

type Priority Uses

type Priority string
const (
    PRIO_DEBUG Priority = "DEBUG"
    PRIO_INFO  Priority = "INFO"
    PRIO_ERROR Priority = "ERROR"
)

type SignUpCompleted Uses

type SignUpCompleted struct {
    Timestamp time.Time `json:"timestamp"`
    Name      string    `json:"name"`
    Email     string    `json:"email"`
}

type SignUpStarted Uses

type SignUpStarted struct {
    Timestamp time.Time `json:"timestamp"`
    Email     string    `json:"email"`
    Code      string    `json:"code"`
}

type UserCreated Uses

type UserCreated struct {
    Timestamp time.Time `json:"timestamp"`
    Id        int64     `json:"id"`
    Name      string    `json:"name"`
    Login     string    `json:"login"`
    Email     string    `json:"email"`
}

type UserUpdated Uses

type UserUpdated struct {
    Timestamp time.Time `json:"timestamp"`
    Id        int64     `json:"id"`
    Name      string    `json:"name"`
    Login     string    `json:"login"`
    Email     string    `json:"email"`
}

Package events imports 2 packages (graph). Updated 2017-02-12. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).