Versions in this module Expand all Collapse all v0 v0.5.0 Jul 12, 2026 v0.4.0 Jul 5, 2026 v0.3.0 Jun 28, 2026 v0.2.0 Jun 19, 2026 v0.1.0 Jun 19, 2026 v0.0.0 Jun 19, 2026 Changes in this version + var ErrInvalidPort = errors.New("port must be between 1024 and 65535") + var FailOnRouterPortConflicts = false + var ReservedSystemComponentPorts = []uint16 + type Model struct + CreatedAt time.Time + Guid string + UpdatedAt time.Time + type ModificationTag struct + Guid string + Index uint32 + func NewModificationTag() (ModificationTag, error) + func (m *ModificationTag) SucceededBy(other *ModificationTag) bool + func (t *ModificationTag) Increment() + type Range struct + func NewRange(start, end uint16) (Range, error) + func (r Range) Endpoints() (uint16, uint16) + func (r Range) Overlaps(other Range) bool + func (r Range) String() string + type Ranges []Range + type ReservablePorts string + func (p *ReservablePorts) UnmarshalYAML(unmarshal func(interface{}) error) error + func (p ReservablePorts) Parse() (Ranges, error) + func (p ReservablePorts) Validate() error + type Route struct + ExpiresAt time.Time + func NewRoute(url string, port uint16, ip, logGuid, routeServiceUrl string, ttl int) Route + func NewRouteWithModel(route Route) (Route, error) + func (r *Route) SetDefaults(defaultTTL int) + func (r Route) GetTTL() int + type RouteEntity struct + IP string + LogGuid string + Port uint16 + Route string + RouteServiceUrl string + TTL *int + type RouterGroup struct + Guid string + Name string + ReservablePorts ReservablePorts + Type RouterGroupType + func (g RouterGroup) Validate() error + type RouterGroupDB struct + Name string + ReservablePorts string + Type string + func NewRouterGroupDB(routerGroup RouterGroup) RouterGroupDB + func (RouterGroupDB) TableName() string + func (rg *RouterGroupDB) ToRouterGroup() RouterGroup + type RouterGroupType string + const RouterGroup_HTTP + const RouterGroup_TCP + type RouterGroups []RouterGroup + func (g RouterGroups) Validate() error + type RouterGroupsDB []RouterGroupDB + func (rgs RouterGroupsDB) ToRouterGroups() RouterGroups + type TcpMappingEntity struct + ALPNs string + ExternalPort uint16 + HostIP string + HostPort uint16 + HostTLSPort int + InstanceId string + IsolationSegment string + RouterGroupGuid string + SniHostname *string + SniRewriteHostname *string + TTL *int + TerminateFrontendTLS bool + type TcpRouteMapping struct + ExpiresAt time.Time + func NewTcpRouteMapping(routerGroupGuid string, externalPort uint16, hostIP string, hostPort uint16, ...) TcpRouteMapping + func NewTcpRouteMappingWithModel(tcpMapping TcpRouteMapping) (TcpRouteMapping, error) + func (TcpRouteMapping) TableName() string + func (m TcpRouteMapping) Matches(other TcpRouteMapping) bool + func (m TcpRouteMapping) String() string + func (t *TcpRouteMapping) SetDefaults(maxTTL int)