web

package
v2.51.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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"`
}

func (*Config) Descriptor

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetServer

func (m *Config) GetServer() []*Server

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

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) Descriptor

func (*Server) Descriptor() ([]byte, []int)

func (*Server) GetDomain

func (m *Server) GetDomain() []string

func (*Server) GetSettings

func (m *Server) GetSettings() *v2ray_core_common_serial.TypedMessage

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) Reset

func (m *Server) Reset()

func (*Server) String

func (m *Server) String() string

type WebServer

type WebServer interface {
	Handle()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL