Documentation
¶
Index ¶
- Constants
- func NewConfigHandler(tunnelService TunnelConfigurator) *configHandler
- func NewCreateHandler(tunnelService TunnelCreator) *createHandler
- func NewRunHandler(tunnelService TunnelRunner) *runHandler
- type ConfigInput
- type ConfigOutput
- type CreateInput
- type CreateOutput
- type RunInput
- type RunOutput
- type TunnelConfigurator
- type TunnelCreator
- type TunnelRunner
Constants ¶
View Source
const ConfigHandlerName = "tunnel-config"
View Source
const CreateHandlerName = "tunnel-create"
View Source
const RunHandlerName = "tunnel-run"
Variables ¶
This section is empty.
Functions ¶
func NewConfigHandler ¶
func NewConfigHandler(tunnelService TunnelConfigurator) *configHandler
func NewCreateHandler ¶
func NewCreateHandler(tunnelService TunnelCreator) *createHandler
func NewRunHandler ¶
func NewRunHandler(tunnelService TunnelRunner) *runHandler
Types ¶
type ConfigInput ¶
type ConfigOutput ¶
type CreateInput ¶
type CreateOutput ¶
type RunOutput ¶
type RunOutput struct {
TunnelName string `json:"tunnel_name"`
Process processIdentity `json:"process"`
}
type TunnelConfigurator ¶
type TunnelCreator ¶
Click to show internal directories.
Click to hide internal directories.