Documentation ¶
Index ¶
- type Config
- type TunDevice
- func (t *TunDevice) Address() net.IP
- func (t *TunDevice) BatchSize() int
- func (t *TunDevice) Close() error
- func (t *TunDevice) Decode(msg *message.Message) error
- func (t *TunDevice) Encode(msg *message.Message) error
- func (t *TunDevice) Endpoint() string
- func (t *TunDevice) Events() <-chan tun.Event
- func (t *TunDevice) File() *os.File
- func (t *TunDevice) MTU() (int, error)
- func (t *TunDevice) Name() (string, error)
- func (t *TunDevice) Read(bufs [][]byte, sizes []int, offset int) (n int, err error)
- func (t *TunDevice) Write(bufs [][]byte, offset int) (int, error)
- type WGWireManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WGWireManager ¶
type WGWireManager struct {
wire.BaseWireManager
}
wireguard-wire manager
func (*WGWireManager) Dial ¶
func (m *WGWireManager) Dial(endpoint string) error
create a wireguard server then register it as a goose wire
func (*WGWireManager) Protocol ¶
func (m *WGWireManager) Protocol() string
Click to show internal directories.
Click to hide internal directories.