Versions in this module Expand all Collapse all v0 v0.1.0 Jan 16, 2024 Changes in this version + var ErrSubdomainInUse = status.Error(codes.AlreadyExists, "subdomain already in use") + var ErrSubdomainInvalid = status.Error(codes.InvalidArgument, "invalid subdomain") + var ErrSubdomainMissing = status.Error(codes.InvalidArgument, "missing subdomain") + type OptFunc func(*opts) + func WithDebug() OptFunc + func WithHTTPPort(port uint16) OptFunc + func WithJSONLogger() OptFunc + func WithMaxMsgRecvSize(size int) OptFunc + func WithMaxMsgSendSize(size int) OptFunc + func WithMaxRequestBodySize(size int64) OptFunc + func WithPathToCertificate(path string) OptFunc + func WithPathToPrivateKey(path string) OptFunc + func WithRPCPort(port uint16) OptFunc + func WithReflection() OptFunc + func WithServingUrlFormat(format string) OptFunc + func WithTLS() OptFunc + type Srv struct + func New(optfns ...OptFunc) (*Srv, error) + func (s Srv) Listen(stream pb.Fleet_ListenServer) error + func (s Srv) Run() error