logs

package
v0.0.0-...-791dfb5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Audittrail

type Audittrail struct {
	basemodel.BaseModel
	Client   string `json:"client"`
	UserID   string `json:"user_id"`
	Username string `json:"username"`
	Roles    string `json:"roles"`
	Entity   string `json:"entity"`
	EntityID string `json:"entity_id"`
	Action   string `json:"action"`
	Original string `json:"original"`
	New      string `json:"new"`
}

Audittrail struct for client template

type Log

type Log struct {
	basemodel.BaseModel
	Tag      string `json:"tag"`
	Note     string `json:"note"`
	UID      string `json:"uid"`
	Username string `json:"username"`
	Level    string `json:"level"`
	Messages string `json:"messages"`
}

Log struct for client template

type NorthstarLib

type NorthstarLib struct {
	Host         string
	Topic        string
	Secret       string
	Send         bool
	SaramaConfig *sarama.Config
}

NorthstarLib main type

func (*NorthstarLib) SubmitKafkaLog

func (n *NorthstarLib) SubmitKafkaLog(l interface{}, model string) (err error)

SubmitKafkaLog func

Jump to

Keyboard shortcuts

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