selfhostgate

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package selfhostgate is the single seam between the open-source CLI and the closed-source selfhost server. See gate_on.go for the full contract.

This is the open-source build: selfhost is not compiled in, so TryServe always declines and the caller falls through to the community API. This file must not import internal/selfhost — it is the reason the public tree builds without it.

Index

Constants

View Source
const Available = false

Available reports whether selfhost support was compiled into this binary.

Variables

This section is empty.

Functions

func TryServe

func TryServe(_ context.Context, _ httpserver.ServerConfig, _ bool) (bool, error)

TryServe always returns false in open-source builds: there is no selfhost server to hand off to, so the caller starts the community API as usual.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL