Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForSocket ¶
Types ¶
type IPCServer ¶
type IPCServer struct {
// contains filtered or unexported fields
}
func NewIPCServer ¶
type LogsParams ¶
type Request ¶
type Request struct {
Command string `json:"command"` // "logs", "search", "get", "req", "res", "tail", "clear", "shutdown"
Params json.RawMessage `json:"params"`
}
type Response ¶
type Response struct {
OK bool `json:"ok"`
Data json.RawMessage `json:"data,omitempty"`
Error string `json:"error,omitempty"`
}
type SearchRequestParams ¶
type SearchRequestParams struct {
Method string `json:"method,omitempty"`
Host string `json:"host,omitempty"`
Domains []string `json:"domains,omitempty"`
Path string `json:"path,omitempty"`
Status int `json:"status,omitempty"`
Limit int `json:"limit,omitempty"`
Offset int `json:"offset,omitempty"`
}
type TailParams ¶ added in v0.3.2
Click to show internal directories.
Click to hide internal directories.