optimize v2ctl size

This commit is contained in:
Darien Raymond 2019-02-01 20:08:21 +01:00
parent 3b02c02ab4
commit 1ab94fed79
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
83 changed files with 160 additions and 0 deletions

View File

@ -1,3 +1,5 @@
// +build !confonly
package commander
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package commander
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package commander
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package dispatcher
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package dispatcher
import "context"

View File

@ -1,3 +1,5 @@
// +build !confonly
package dispatcher
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package dispatcher
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package dns
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package dns
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package dns
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package dns
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package command
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package log
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package log
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package command
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package reverse
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package reverse
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package reverse
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package reverse
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package router
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package router
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package router
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package router
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package router
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package command
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package stats
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package stats
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package net
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package core
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package core
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package core
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package dokodemo
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package freedom
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package http
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package mtproto
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package shadowsocks
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package shadowsocks
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package shadowsocks
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package shadowsocks
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package socks
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package socks
import "v2ray.com/core/common/protocol"

View File

@ -1,3 +1,5 @@
// +build !confonly
package socks
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package socks
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package inbound
// GetDefaultValue returns default settings of DefaultConfig.

View File

@ -1,3 +1,5 @@
// +build !confonly
package inbound
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package outbound
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package outbound
//go:generate errorgen

View File

@ -1,3 +1,5 @@
// +build !confonly
package domainsocket
import (

View File

@ -1,5 +1,6 @@
// +build !windows
// +build !wasm
// +build !confonly
package domainsocket

View File

@ -1,5 +1,6 @@
// +build !windows
// +build !wasm
// +build !confonly
package domainsocket

View File

@ -1,3 +1,5 @@
// +build !confonly
package http
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package http
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package http
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package quic
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package quic
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package quic
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package quic
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package quic
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package quic
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package tcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package tcp
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package tcp
import (

View File

@ -1,4 +1,5 @@
// +build linux
// +build !confonly
package tcp

View File

@ -1,4 +1,5 @@
// +build !linux
// +build !confonly
package tcp

View File

@ -1,3 +1,5 @@
// +build !confonly
package tls
import (

View File

@ -1,4 +1,5 @@
// +build !windows
// +build !confonly
package tls

View File

@ -1,4 +1,5 @@
// +build windows
// +build !confonly
package tls

View File

@ -1,3 +1,5 @@
// +build !confonly
package tls
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package websocket
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package websocket
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package websocket
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package websocket
import (

View File

@ -1,3 +1,5 @@
// +build !confonly
package core
import (