Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { Driver string Mongo mongodb.MongoDBInterface }
Logger ..
func (*Logger) Get ¶
func (logging *Logger) Get(uuid, action string) (*entity.LoggerEventHistory, error)
Get ...
func (*Logger) Save ¶
func (logging *Logger) Save(origin string, log *entity.LoggerRequest) (*entity.LoggerEventHistory, error)
Save ...
type LoggerInterface ¶
type LoggerInterface interface { Save(origin string, log *entity.LoggerRequest) (*entity.LoggerEventHistory, error) Get(uuid, collection string) (*entity.LoggerEventHistory, error) All(action string) (interface{}, error) }
LoggerInterface ..
Click to show internal directories.
Click to hide internal directories.