optimize v2ctl size

This commit is contained in:
Darien Raymond
2019-02-01 20:08:21 +01:00
parent 3b02c02ab4
commit 1ab94fed79
83 changed files with 160 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package commander
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package commander
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package commander
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package dispatcher
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package dispatcher
import "context"
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package dispatcher
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package dispatcher
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package dns
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package dns
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package dns
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package dns
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package command
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package log
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package log
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package command
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package reverse
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package reverse
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package reverse
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package reverse
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package router
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package router
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package router
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package router
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package router
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package command
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package stats
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package stats
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package net
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package core
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package core
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package core
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package dokodemo
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package freedom
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package http
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package mtproto
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package shadowsocks
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package shadowsocks
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package shadowsocks
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package shadowsocks
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package socks
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package socks
import "v2ray.com/core/common/protocol"
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package socks
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package socks
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package inbound
// GetDefaultValue returns default settings of DefaultConfig.
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package inbound
//go:generate errorgen
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package outbound
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package outbound
//go:generate errorgen
@@ -1,3 +1,5 @@
// +build !confonly
package domainsocket
import (
+1
View File
@@ -1,5 +1,6 @@
// +build !windows
// +build !wasm
// +build !confonly
package domainsocket
@@ -1,5 +1,6 @@
// +build !windows
// +build !wasm
// +build !confonly
package domainsocket
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package http
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package http
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package http
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package kcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package quic
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package quic
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package quic
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package quic
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package quic
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package quic
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package tcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package tcp
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package tcp
import (
+1
View File
@@ -1,4 +1,5 @@
// +build linux
// +build !confonly
package tcp
+1
View File
@@ -1,4 +1,5 @@
// +build !linux
// +build !confonly
package tcp
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package tls
import (
+1
View File
@@ -1,4 +1,5 @@
// +build !windows
// +build !confonly
package tls
+1
View File
@@ -1,4 +1,5 @@
// +build windows
// +build !confonly
package tls
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package tls
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package websocket
import (
@@ -1,3 +1,5 @@
// +build !confonly
package websocket
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package websocket
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package websocket
import (
+2
View File
@@ -1,3 +1,5 @@
// +build !confonly
package core
import (