web

package
v3.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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