package
Version:
v0.0.0-...-f772103
Opens a new window with list of versions in this module.
Published: Sep 21, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Data struct {
Name string `json:"name"`
Surname string `json:"surname"`
}
type Exception struct {
Code string `json:"code"`
Message string `json:"message"`
}
type LogFormat struct {
AppName string `json:"app_name"`
Function string `json:"function"`
File string `json:"file"`
Line int `json:"line"`
Level string `json:"level"`
Message interface{} `json:"message"`
Timestamp time.Time `json:"timestamp"`
}
type Response struct {
AppName string `json:"app_name"`
Data interface{} `json:"data"`
Description string `json:"description"`
Exception interface{} `json:"exception"`
Status int `json:"status"`
Timestamp string `json:"timestamp"`
Transaction uuid.UUID `json:"transaction"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.