package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 15, 2018
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
¶
type Configs struct {
Proxys []Proxy `json:"proxys"`
Rules []Rule `json:"rules"`
}
type Error struct {
Error string `json:"error"`
}
type GetLogs struct {
Level string `json:"level"`
}
type Log struct {
Type string `json:"type"`
Payload string `json:"payload"`
}
type Proxy struct {
Name string `json:"name"`
}
type Rule struct {
Name string `json:"name"`
Payload string `json:"type"`
}
type Traffic struct {
Up int64 `json:"up"`
Down int64 `json:"down"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.