Documentation ¶
Overview ¶
Package web is a generated protocol buffer package.
It is generated from these files:
v2ray.com/core/app/web/config.proto
It has these top-level messages:
FileServer Server Config
Index ¶
- Constants
- type Config
- type FileServer
- type FileServer_Entry
- func (*FileServer_Entry) Descriptor() ([]byte, []int)
- func (m *FileServer_Entry) GetDirectory() string
- func (m *FileServer_Entry) GetFile() string
- func (m *FileServer_Entry) GetFileOrDir() isFileServer_Entry_FileOrDir
- func (*FileServer_Entry) ProtoMessage()
- func (m *FileServer_Entry) Reset()
- func (m *FileServer_Entry) String() string
- func (*FileServer_Entry) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type FileServer_Entry_Directory
- type FileServer_Entry_File
- type Server
- type WebServer
Constants ¶
View Source
const (
APP_ID = app.ID(8)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server []*Server `protobuf:"bytes,1,rep,name=server" json:"server,omitempty"`
}
func (*Config) Descriptor ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type FileServer ¶
type FileServer struct {
Entry []*FileServer_Entry `protobuf:"bytes,1,rep,name=entry" json:"entry,omitempty"`
}
func (*FileServer) Descriptor ¶
func (*FileServer) Descriptor() ([]byte, []int)
func (*FileServer) GetEntry ¶
func (m *FileServer) GetEntry() []*FileServer_Entry
func (*FileServer) ProtoMessage ¶
func (*FileServer) ProtoMessage()
func (*FileServer) Reset ¶
func (m *FileServer) Reset()
func (*FileServer) String ¶
func (m *FileServer) String() string
type FileServer_Entry ¶
type FileServer_Entry struct { // Types that are valid to be assigned to FileOrDir: // *FileServer_Entry_File // *FileServer_Entry_Directory FileOrDir isFileServer_Entry_FileOrDir `protobuf_oneof:"FileOrDir"` Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` }
func (*FileServer_Entry) Descriptor ¶
func (*FileServer_Entry) Descriptor() ([]byte, []int)
func (*FileServer_Entry) GetDirectory ¶
func (m *FileServer_Entry) GetDirectory() string
func (*FileServer_Entry) GetFile ¶
func (m *FileServer_Entry) GetFile() string
func (*FileServer_Entry) GetFileOrDir ¶
func (m *FileServer_Entry) GetFileOrDir() isFileServer_Entry_FileOrDir
func (*FileServer_Entry) ProtoMessage ¶
func (*FileServer_Entry) ProtoMessage()
func (*FileServer_Entry) Reset ¶
func (m *FileServer_Entry) Reset()
func (*FileServer_Entry) String ¶
func (m *FileServer_Entry) String() string
func (*FileServer_Entry) XXX_OneofFuncs ¶
func (*FileServer_Entry) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type FileServer_Entry_Directory ¶
type FileServer_Entry_Directory struct {
Directory string `protobuf:"bytes,2,opt,name=Directory,oneof"`
}
type FileServer_Entry_File ¶
type FileServer_Entry_File struct {
File string `protobuf:"bytes,1,opt,name=File,oneof"`
}
type Server ¶
type Server struct { Domain []string `protobuf:"bytes,1,rep,name=domain" json:"domain,omitempty"` Settings *v2ray_core_common_loader.TypedSettings `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"` }
func (*Server) Descriptor ¶
func (*Server) GetSettings ¶
func (m *Server) GetSettings() *v2ray_core_common_loader.TypedSettings
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
type WebServer ¶
type WebServer interface { common.Releasable Handle() }
Click to show internal directories.
Click to hide internal directories.