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

package wireguard

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

Index

Package Files

config.pb.go wireguard.go

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 {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*WireguardConfig) Descriptor Uses

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

func (*WireguardConfig) ProtoMessage Uses

func (*WireguardConfig) ProtoMessage()

func (*WireguardConfig) Reset Uses

func (m *WireguardConfig) Reset()

func (*WireguardConfig) String Uses

func (m *WireguardConfig) String() string

func (*WireguardConfig) XXX_DiscardUnknown Uses

func (m *WireguardConfig) XXX_DiscardUnknown()

func (*WireguardConfig) XXX_Marshal Uses

func (m *WireguardConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WireguardConfig) XXX_Merge Uses

func (m *WireguardConfig) XXX_Merge(src proto.Message)

func (*WireguardConfig) XXX_Size Uses

func (m *WireguardConfig) XXX_Size() int

func (*WireguardConfig) XXX_Unmarshal Uses

func (m *WireguardConfig) XXX_Unmarshal(b []byte) error

Package wireguard imports 5 packages (graph) and is imported by 5 packages. Updated 2019-04-03. Refresh now. Tools for package owners.