Discover Packages
github.com/AkinoKaede/naruse
config
package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Nov 15, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Groups []Group `json:"groups"`
}
type Group struct {
Listen string `json:"listen"`
Port int `json:"port"`
TCPFastOpen bool `json:"tcpFastOpen"`
AntiReplay bool `json:"antiReplay"`
Servers []Server `json:"servers"`
}
type Server struct {
Target string `json:"target"`
ID []string `json:"id"`
TCPFastOpen bool `json:"tcpFastOpen"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.