mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-07-03 04:25:23 +00:00
19 lines
378 B
Protocol Buffer
19 lines
378 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package com.v2ray.core.proxy.socks;
|
||
|
option go_package = "socks";
|
||
|
|
||
|
import "v2ray.com/core/common/net/address.proto";
|
||
|
|
||
|
message ServerConfig {
|
||
|
enum AuthType {
|
||
|
NO_AUTH = 0;
|
||
|
PASSWORD = 1;
|
||
|
}
|
||
|
AuthType auth_type = 1;
|
||
|
map<string, string> accounts = 2;
|
||
|
com.v2ray.core.common.net.AddressPB address = 3;
|
||
|
bool udp_enabled = 4;
|
||
|
uint32 timeout = 5;
|
||
|
}
|