Discover Packages
github.com/PeerXu/meepo
pkg
lib
config
package
Version:
v0.0.0-20240423
Opens a new window with list of versions in this module.
Published: Apr 23, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
type API struct {
Name string `yaml:"name"`
Host string `yaml:"host"`
}
type Config struct {
Meepo Meepo `yaml:"meepo"`
}
type DomainNameService struct {
Name string `yaml:"name"`
Local struct {
Hosts []struct {
File string `yaml:"file"`
Static string `yaml:"static"`
} `yaml:"hosts"`
} `yaml:"local"`
ConnectionString string `yaml:"connectString"`
}
type Identity struct {
NoFile bool `yaml:"no_file" mapstructure:"no_file"`
File string `yaml:"file"`
}
type Kcp struct {
Disable bool `yaml:"disable,omitempty"`
Preset string `yaml:"preset,omitempty"`
Crypt string `yaml:"crypt,omitempty"`
Key string `yaml:"key,omitempty"`
Mtu int `yaml:"mtu,omitempty"`
Sndwnd int `yaml:"sndwnd,omitempty"`
Rcvwnd int `yaml:"rcvwnd,omitempty"`
DataShard int `yaml:"dataShard,omitempty"`
ParityShard int `yaml:"parityShard,omitempty"`
}
type Log struct {
Level string `yaml:"level"`
File string `yaml:"file"`
}
type Meepo struct {
Daemon bool `yaml:"daemon"`
Profile string `yaml:"profile"`
Pprof string `yaml:"pprof"`
Poof Poof `yaml:"poof"`
Identity Identity `yaml:"identity,omitempty"`
API API `yaml:"api,omitempty"`
Socks5 Socks5 `yaml:"socks5,omitempty"`
Acl string `yaml:"acl,omitempty"`
Log Log `yaml:"log,omitempty"`
Trackerd *Trackerd `yaml:"trackerd,omitempty"`
Trackerds []*Trackerd `yaml:"trackerds,omitempty"`
Tracker *Tracker `yaml:"tracker,omitempty"`
Trackers []*Tracker `yaml:"trackers,omitempty"`
Webrtc Webrtc `yaml:"webrtc,omitempty"`
Smux Smux `yaml:"smux,omitempty"`
Kcp Kcp `yaml:"kcp,omitempty"`
DomainNameService DomainNameService `yaml:"domainNameService,omitempty"`
}
type Poof struct {
Disable bool `yaml:"disable"`
Interval time .Duration `yaml:"interval"`
RequestCandidates int `yaml:"request_candidates"`
}
type Smux struct {
Disable bool `yaml:"disable,omitempty"`
Version int `yaml:"version,omitempty"`
BufferSize int `yaml:"bufferSize,omitempty"`
StreamBufferSize int `yaml:"streamBufferSize,omitempty"`
Nocomp bool `yaml:"nocomp,omitempty"`
}
type Socks5 struct {
Host string `yaml:"host"`
}
type Tracker struct {
Name string `yaml:"name"`
CallerName string `yaml:"callerName"`
Addr string `yaml:"addr"`
Host string `yaml:"host,omitempty"`
}
type Trackerd struct {
Name string `yaml:"name"`
ServerName string `yaml:"serverName,omitempty"`
Host string `yaml:"host,omitempty"`
}
type Webrtc struct {
DisableDefaults bool `yaml:"disableDefaults"`
IceServers []string `yaml:"iceServers,omitempty"`
RecvBufferSize uint32 `yaml:"recvBufferSize,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.