package
Version:
v0.0.0-...-9c1c390
Opens a new window with list of versions in this module.
Published: Feb 24, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Create provides initialization of server
type Config struct {
Address string
}
Config defines configuration for server start
type Error struct {
StatusCode int `json:"status_code"`
Message string `json:"message"`
Additional string `json:"additional"`
}
Error defines the struct for response on the error case
type Request struct {
Level string `json:"level"`
Message string `json:"message"`
Name string `json:"name"`
Labels []string `json:"labels"`
Entry string `json:"entry"`
Service string `json:"service"`
}
Request defines log payload
Source Files
¶
Click to show internal directories.
Click to hide internal directories.