Documentation ¶
Index ¶
- Constants
- type Plugin
- func (e *Plugin) Dir(workingDir string) *Plugin
- func (e *Plugin) GetDescription() string
- func (e *Plugin) GetName() string
- func (e *Plugin) Port(port int) *Plugin
- func (e *Plugin) PreClose(s *iris.Iris)
- func (e *Plugin) PreListen(s *iris.Iris)
- func (e *Plugin) SetEnable(enable bool)
- func (e *Plugin) User(username string, password string) *Plugin
Constants ¶
View Source
const (
// Name the name of the Plugin, which is "EditorPlugin"
Name = "EditorPlugin"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is an Editor Plugin the struct which implements the iris.IPlugin it holds a logger from the iris' station username,password for basic auth directory which the client side code is keyfile,certfile for TLS listening and a host which is listening for
func (*Plugin) GetDescription ¶
GetDescription EditorPlugin is a bridge between Iris and the alm-tools, the browser-based IDE for client-side sources.
func (*Plugin) PreListen ¶
PreListen runs before the server's listens, saves the keyfile,certfile and the host from the Iris station to listen for
Click to show internal directories.
Click to hide internal directories.