webcommander

package
v5.25.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_app_commander_webcommander_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {
	Tag           string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	WebRoot       []byte `protobuf:"bytes,2,opt,name=web_root,json=webRoot,proto3" json:"web_root,omitempty"`
	WebRootFile   string `protobuf:"bytes,96002,opt,name=web_root_file,json=webRootFile,proto3" json:"web_root_file,omitempty"`
	ApiMountpoint string `protobuf:"bytes,3,opt,name=api_mountpoint,json=apiMountpoint,proto3" json:"api_mountpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetApiMountpoint

func (x *Config) GetApiMountpoint() string

func (*Config) GetTag

func (x *Config) GetTag() string

func (*Config) GetWebRoot

func (x *Config) GetWebRoot() []byte

func (*Config) GetWebRootFile

func (x *Config) GetWebRootFile() string

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type WebCommander

type WebCommander struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*WebCommander) Close

func (w *WebCommander) Close() error

func (*WebCommander) ServeHTTP

func (w *WebCommander) ServeHTTP(writer http.ResponseWriter, request *http.Request)

func (*WebCommander) Start

func (w *WebCommander) Start() error

func (*WebCommander) Type

func (w *WebCommander) Type() interface{}

Jump to

Keyboard shortcuts

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