server

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

package server provides an HTTP server application for emitting (reading) data from a go-reader instance

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServerApplication

func NewServerApplication(ctx context.Context) (application.Application, error)

Types

type ServerApplication

type ServerApplication struct {
	application.Application
}

func (*ServerApplication) DefaultFlagSet

func (app *ServerApplication) DefaultFlagSet(ctx context.Context) (*flag.FlagSet, error)

func (*ServerApplication) Run

func (app *ServerApplication) Run(ctx context.Context) error

func (*ServerApplication) RunWithFlagSet

func (app *ServerApplication) RunWithFlagSet(ctx context.Context, fs *flag.FlagSet) error

Jump to

Keyboard shortcuts

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