transport

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

README

Transport

Contains the server-side code for talking to the "client," which is either the server itself or a remote client binary.

Documentation

Index

Constants

View Source
const (
	Transport contextKey = iota
	Operator
)
View Source
const (

	// ServerMaxMessageSize - Server-side max GRPC message size.
	ServerMaxMessageSize = 2*gb - 1
)

Variables

This section is empty.

Functions

func NewTeamserver

func NewTeamserver() (team *server.Server, clientOpts []grpc.DialOption, err error)

NewTeamserver returns an AIMS teamserver ready to run and serve itself over either TCP+MTLS/gRPC, or Tailscale+MTLS/gRPC channels. The client options returned should be passed to an in-memory teamclient. All errors returned by this function are critical: the server can't work.

Types

This section is empty.

Jump to

Keyboard shortcuts

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