entity

package
v0.0.0-...-2be556a Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAllLoggerRequest

type GetAllLoggerRequest struct {
	Action string `json:"action" bson:"action"`
}

GetAllLoggerRequest ...

type GetLoggerRequest

type GetLoggerRequest struct {
	UUID   string `json:"uuid" bson:"uuid"`
	Action string `json:"action" bson:"action"`
}

GetLoggerRequest ...

type LoggerActionHistory

type LoggerActionHistory struct {
	Collection string `json:"collection" bson:"collection"`
	Event      string `json:"event" bson:"event"`
	Origin     string `json:"origin" bson:"origin"`
}

LoggerActionHistory ...

type LoggerEventHistory

type LoggerEventHistory struct {
	UUID      string               `json:"__uuid" bson:"__uuid"`
	Action    *LoggerActionHistory `json:"__action" bson:"__action"`
	Offset    uint64               `json:"__offset" bson:"__offset"`
	History   []LoggerHistory      `json:"history" bson:"history"`
	Status    string               `json:"status" bson:"status"`
	CreatedAt *time.Time           `json:"created_at" bson:"created_at"`
	UpdateAt  *time.Time           `json:"update_at" bson:"update_at"`
}

LoggerEventHistory ...

type LoggerHistory

type LoggerHistory struct {
	Data map[string]interface{} `json:"data" bson:"data"`
}

LoggerHistory ...

type LoggerRequest

type LoggerRequest struct {
	UUID   string                 `json:"uuid" bson:"uuid"`
	Action string                 `json:"action" bson:"action"`
	Data   map[string]interface{} `json:"data" bson:"data"`
	Status string                 `json:"status" bson:"status"`
}

LoggerRequest ...

type LoggerSearch

type LoggerSearch struct {
	UUID string `json:"__uuid" bson:"__uuid"`
}

LoggerSearch ...

Jump to

Keyboard shortcuts

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