Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPAccessLoggingWrapper ¶
HTTPAccessLoggingWrapper is wrapper to enable access logs
func InitLogging ¶
InitLogging acts as a constructor to initialize the logging service and initailize the struct
Types ¶
type GlobalParameters ¶
type GlobalParameters struct {
// contains filtered or unexported fields
}
GlobalParameters is the class used to store global variables
type Options ¶
type Options func(lb *GlobalParameters)
Options sets a variable of GlobalParameters
func SetConsulIP ¶
SetConsulIP (mandatory) default value is localhost, thus service has to change the consul ip based on environment
func SetLogger ¶
func SetLogger(customLogger *gologger.CustomLogger) Options
SetLogger (mandatory) parameter in order to configure logger
Click to show internal directories.
Click to hide internal directories.