Documentation ¶
Index ¶
- Constants
- type Encoder
- func (e *Encoder) ByteToV2RayURL(vu []byte) string
- func (e *Encoder) EncodeToL2QR(payload []byte, conf QRGenConf) (*L2QRGen, error)
- func (e *Encoder) PackV2RayConfigureIntoPackedForm(FileName string) ([]byte, error)
- func (e *Encoder) PackV2RayConfigureIntoPackedFormB(FileName string, ft []byte) ([]byte, error)
- func (e *Encoder) StartQRDecode() *QRDecoder
- func (e *Encoder) UnpackV2RayConfB(payload []byte) (string, []byte, error)
- func (e *Encoder) V2RayURLToByte(url string) []byte
- type L2QRGen
- type QRDecoder
Constants ¶
View Source
const LibV2RayURLSignature = "libv2ray:?"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct{}
func (*Encoder) ByteToV2RayURL ¶
func (*Encoder) EncodeToL2QR ¶
func (*Encoder) PackV2RayConfigureIntoPackedForm ¶
func (*Encoder) PackV2RayConfigureIntoPackedFormB ¶
func (*Encoder) StartQRDecode ¶
func (*Encoder) UnpackV2RayConfB ¶
func (*Encoder) V2RayURLToByte ¶
type L2QRGen ¶
type QRDecoder ¶
type QRDecoder struct { PieceNeeded int PieceReceived int // contains filtered or unexported fields }
func (*QRDecoder) IsDecodeReady ¶
func (*QRDecoder) OnNewDataScanned ¶
Click to show internal directories.
Click to hide internal directories.