package
Version:
v0.0.0-...-3b96593
Opens a new window with list of versions in this module.
Published: May 15, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewLogsCommand() *command
type ColorStrFunc func(format string, a ...interface{}) string
type Log struct {
Time time.Time `json:"time"`
Message string `json:"message"`
Hostname string `json:"hostname"`
Severity string `json:"severity"`
Program string `json:"program"`
}
type LogsData struct {
Logs []Log `json:"logs"`
PageInfo `json:"pageInfo"`
}
type Options struct {
ApiUrl string `yaml:"api-url"`
Token string `yaml:"token"`
}
type PageInfo struct {
PrevPage string `json:"prevPage"`
NextPage string `json:"nextPage"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.