graphqlapi

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package graphqlapi wires up the GraphQL API and the static web UI. It has no main of its own — start it via `colorsort serve` (see cmd/colorsort).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() (http.Handler, error)

Handler returns an http.Handler for the GraphQL API and static UI. Used by both Serve and the CLI's ephemeral server spawning.

func Serve

func Serve(port string) error

Serve starts the GraphQL API and static UI on the given port, blocking until the server stops or fails.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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