Documentation ¶
Index ¶
- 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 (m *FileServer_Entry) GetPath() string
- 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 ¶
This section is empty.
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"`
}
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) GetPath ¶
func (m *FileServer_Entry) GetPath() string
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_serial.TypedMessage `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"` }
func (*Server) GetSettings ¶
func (m *Server) GetSettings() *v2ray_core_common_serial.TypedMessage
type WebServer ¶
type WebServer interface {
Handle()
}
Click to show internal directories.
Click to hide internal directories.