service

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package service wires the durable git-ci control plane.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen          string
	StateDir        string
	StaticDir       string
	ProjectRoots    []string
	AdminTokenFile  string
	SessionKeyFile  string
	SecretKeyFile   string
	SessionTTL      time.Duration
	MaxBodyBytes    int64
	Version         string
	ShutdownTimeout time.Duration
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, config Config) (*Service, error)

func (*Service) BootstrapToken

func (s *Service) BootstrapToken() string

func (*Service) Close

func (s *Service) Close() error

func (*Service) Handler

func (s *Service) Handler() http.Handler

func (*Service) Run

func (s *Service) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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