Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientUdpSession ¶
type ClientUdpSession struct { LastActive time.Time Tun proto.GunService_TunDatagramClient }
type GunServiceClientImpl ¶
type GunServiceClientImpl struct { RemoteAddr string LocalAddr string ServerName string Cleartext bool UdpSessions *sync.Map ServiceName string }
func (GunServiceClientImpl) Run ¶
func (g GunServiceClientImpl) Run()
type GunServiceServerImpl ¶
type GunServiceServerImpl struct { RemoteAddr string LocalAddr string CertPath string KeyPath string Cleartext bool UdpSessions *sync.Map ServiceName string }
func (GunServiceServerImpl) Run ¶
func (g GunServiceServerImpl) Run()
func (GunServiceServerImpl) Tun ¶
func (g GunServiceServerImpl) Tun(server proto.GunService_TunServer) error
func (GunServiceServerImpl) TunDatagram ¶
func (g GunServiceServerImpl) TunDatagram(server proto.GunService_TunDatagramServer) error
type ServerUdpSession ¶
type ServerUdpSession struct { LastActive time.Time Tun proto.GunService_TunDatagramServer Socket net.PacketConn }
Click to show internal directories.
Click to hide internal directories.