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
Click to show internal directories.
Click to hide internal directories.