server

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 2 Imported by: 0

README

server

import "github.com/kitsunium/sdk/framework/app/server"

Package server makes a kit app in the server profile — the default — serve HTTP: its endpoints, its frontends and its health probes, on the SDK's server engine. A product that serves HTTP imports it:

import _ "github.com/kitsunium/sdk/framework/app/server"

A daemon or a CLI does not, and links none of the engine. A server that does not import it is refused at the start, naming the import.

It also plugs in the process sampler — the SDK's runtime metrics, which the runtime graph a serving app answers carries (ADR 0172). Without this package the graph has no process, and the program initialises neither runtime/metrics nor the SDK's process package.

Generated from docs/api by tools/genindex.

Documentation

Overview

Package server makes a kit app in the server profile — the default — serve HTTP: its endpoints, its frontends and its health probes, on the SDK's server engine. A product that serves HTTP imports it:

import _ "github.com/kitsunium/sdk/framework/app/server"

A daemon or a CLI does not, and links none of the engine. A server that does not import it is refused at the start, naming the import.

It also plugs in the process sampler — the SDK's runtime metrics, which the runtime graph a serving app answers carries (ADR 0172). Without this package the graph has no process, and the program initialises neither runtime/metrics nor the SDK's process package.

Jump to

Keyboard shortcuts

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