server

package
v0.0.0-...-c4e951e Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package server contains the code for creating an HTTP server for serving a binhost.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

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

Activity is a service activity that spawns an HTTP server to serve the binhost application. Create using the New() function.

func New

func New(deps *dpi.Dependencies) *Activity

New creates a new Activity.

func (*Activity) Run

func (a *Activity) Run(ctx context.Context) error

Run starts the HTTP service activity. Blocks until the provided context is cancelled.

type Server

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

Jump to

Keyboard shortcuts

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