Documentation
¶
Index ¶
- type ForwardDispatcher
- type HandlerGroup
- type MiddlewareFunc
- type Options
- type VRCOsc
- func (v *VRCOsc) AddParamsHandler(params string, handler osc.HandlerFunc) error
- func (v *VRCOsc) AddPathHandler(path string, handler osc.HandlerFunc) error
- func (v *VRCOsc) ChatBoxInput(s string, b, n bool) (err error)
- func (v *VRCOsc) HandlerGroup(path string, middleware ...MiddlewareFunc) *HandlerGroup
- func (v *VRCOsc) Run() error
- func (v *VRCOsc) SendRaw(packet osc.Packet) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForwardDispatcher ¶
type ForwardDispatcher struct {
// contains filtered or unexported fields
}
func (*ForwardDispatcher) Dispatch ¶
func (f *ForwardDispatcher) Dispatch(p osc.Packet)
type HandlerGroup ¶
type HandlerGroup struct {
// contains filtered or unexported fields
}
func (*HandlerGroup) AddParamsHandler ¶
func (g *HandlerGroup) AddParamsHandler(params string, handler osc.HandlerFunc) error
func (*HandlerGroup) AddPathHandler ¶
func (g *HandlerGroup) AddPathHandler(path string, handler osc.HandlerFunc) error
type MiddlewareFunc ¶
type VRCOsc ¶
type VRCOsc struct {
EnableForward bool
// contains filtered or unexported fields
}
func (*VRCOsc) AddParamsHandler ¶
func (v *VRCOsc) AddParamsHandler(params string, handler osc.HandlerFunc) error
func (*VRCOsc) AddPathHandler ¶
func (v *VRCOsc) AddPathHandler(path string, handler osc.HandlerFunc) error
func (*VRCOsc) HandlerGroup ¶
func (v *VRCOsc) HandlerGroup(path string, middleware ...MiddlewareFunc) *HandlerGroup
Click to show internal directories.
Click to hide internal directories.