v2ray-core: github.com/v2ray/v2ray-core/transport/internet/headers/wireguard Index | Files

package wireguard

import "github.com/v2ray/v2ray-core/transport/internet/headers/wireguard"

Index

Package Files

config.pb.go wireguard.go

Variables

var File_transport_internet_headers_wireguard_config_proto protoreflect.FileDescriptor

func NewWireguard Uses

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

NewWireguard returns a new VideoChat instance based on given config.

type Wireguard Uses

type Wireguard struct{}

func (Wireguard) Serialize Uses

func (Wireguard) Serialize(b []byte)

Serialize implements PacketHeader.

func (Wireguard) Size Uses

func (Wireguard) Size() int32

type WireguardConfig Uses

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

func (*WireguardConfig) Descriptor Uses

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

Deprecated: Use WireguardConfig.ProtoReflect.Descriptor instead.

func (*WireguardConfig) ProtoMessage Uses

func (*WireguardConfig) ProtoMessage()

func (*WireguardConfig) ProtoReflect Uses

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

func (*WireguardConfig) Reset Uses

func (x *WireguardConfig) Reset()

func (*WireguardConfig) String Uses

func (x *WireguardConfig) String() string

Package wireguard imports 7 packages (graph). Updated 2020-12-29. Refresh now. Tools for package owners.