Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2024 v1.0.0 Feb 21, 2024 Changes in this version + const RoutesFile + type Management struct + State *State + func NewManagementService(state *State) *Management + func (g *Management) CreateRoute(route *model.Route) error + func (g *Management) GetGatewayPort() string + func (g *Management) GetProxy(path string) *httputil.ReverseProxy + func (g *Management) GetRoutes() []*model.Route + func (g *Management) SetGatewayPort(port string) error + type State struct + func NewState() *State + func (c *State) GetGatewayPort() string + func (c *State) GetRuntimePath() string + func (c *State) GetWWWPath() string + func (c *State) OnGatewayPortChange(f func(string) error) + func (c *State) SetGatewayPort(port string) error + func (c *State) SetRuntimePath(path string) error + func (c *State) SetWWWPath(path string) error