1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 17:46:58 -05:00

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 package commander
//go:generate errorgen //go:generate errorgen

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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