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.
Click to show internal directories.
Click to hide internal directories.