Versions in this module Expand all Collapse all v0 v0.4.0 Oct 22, 2026 Changes in this version + type PrivateServer struct + func NewPrivateServer() (*PrivateServer, error) + func (p *PrivateServer) Addr() string + func (p *PrivateServer) Serve() error + func (p *PrivateServer) TerminalBootstrapToken() string + func (p *PrivateServer) Token() string type Server + func NewWithBind(token string, port int, bind string, gatepostCfg target.GatepostRuntimeConfig) (*Server, error) + func (s *Server) ConfigureUsage(opts UsageOptions) error + type UsageOptions struct + AllowRemote bool + Enabled bool + PollInterval time.Duration + RedlineURL string + TokenFile string + func UsageOptionsFromGlobalConfig() UsageOptions v0.3.0 Mar 10, 2026 Changes in this version + type Server struct + func New(token string, port int) (*Server, error) + func (s *Server) Shutdown(ctx context.Context) error + func (s *Server) Start() error