wireguard

package
v5.0.0-...-470bbe4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transport_internet_headers_wireguard_config_proto protoreflect.FileDescriptor

Functions

func NewWireguard

func NewWireguard(ctx context.Context, config interface{}) (interface{}, error)

NewWireguard returns a new VideoChat instance based on given config.

Types

type Wireguard

type Wireguard struct{}

func (Wireguard) Serialize

func (Wireguard) Serialize(b []byte)

Serialize implements PacketHeader.

func (Wireguard) Size

func (Wireguard) Size() int32

type WireguardConfig

type WireguardConfig struct {
	// contains filtered or unexported fields
}

func (*WireguardConfig) Descriptor deprecated

func (*WireguardConfig) Descriptor() ([]byte, []int)

Deprecated: Use WireguardConfig.ProtoReflect.Descriptor instead.

func (*WireguardConfig) ProtoMessage

func (*WireguardConfig) ProtoMessage()

func (*WireguardConfig) ProtoReflect

func (x *WireguardConfig) ProtoReflect() protoreflect.Message

func (*WireguardConfig) Reset

func (x *WireguardConfig) Reset()

func (*WireguardConfig) String

func (x *WireguardConfig) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL