arrowflight-server-reference-implementation

command module
v0.0.0-...-f6228b6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

README

Apache ArrowFlight Server Reference Implementation

This is a reference implementation of an Apache ArrowFlight server to be used together with cq-destination-arrowflight.

It is a simple server that can be used to test and develop other ArrowFlight clients and various server handlers.

Running

To run the server, simply run the following command:

$ go run . 
11:46PM INF Serving flight server addr=localhost:9090

Configuration

The server can be configured using the following flags:

  • -auth-token: The auth token to use for the server. Default is foobar.
  • -host: The host to bind the server to. Default is localhost.
  • -port: The port to bind the server to. Default is 9090.

Handlers

The server has the following handlers:

NoOpHandler

This handler does nothing. It is useful for testing the server and to use as a base for creating new handlers. The handler can be found in the internal/noophandler package.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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