package
2.1.0-alpha.1+incompatible
Repository: https://github.com/gitql/vitess.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AddStatusFuncs merges the provided functions into the set of functions used to render /debug/status.
AddStatusPart adds a new section to status.
AddStatusSection registers a function that generates extra information for /debug/status.
CheckServiceMap returns if we should register a RPC service (and also logs how to enable / disable it).
Close runs any registered exit hooks in parallel.
FireRunHooks fires the hooks registered by OnHook.
GRPCCheckServiceMap returns if we should register a gRPC service (and also logs how to enable / disable it).
HandlePanic should be called using 'defer' in the RPC code that executes the command.
Init is the first phase of the server startup.
InitServiceMap will set the default value for a protocol/name to be served.
OnClose registers f to be run at the end of the app lifecycle.
OnRun registers f to be run right at the beginning of Run.
OnTerm registers a function to be run when the process receives a SIGTERM.
OnTermSync registers a function to be run when the process receives SIGTERM.
RegisterDefaultFlags registers the default flags for listening to a given port for standard connections.
RegisterDefaultSocketFileFlags registers the default flags for listening to a socket.
RegisterGRPCFlags registers the right command line flag to enable gRPC.
Run starts listening for RPC and HTTP requests, and blocks until it the process gets a signal.
RunDefault calls Run() with the parameters from the flags.
StatusURLPath returns the path to the status page.
# Constants
JQueryIncludes is the include to use to be able to use jquery and jquery-ui.
# Variables
GRPCCA is the CA to use if TLS is enabled.
GRPCCert is the cert to use if TLS is enabled.
GRPCKey is the key to use if TLS is enabled.
GRPCMaxMessageSize is the maximum message size which the gRPC server will accept.
GRPCPort is the port to listen on for gRPC.
GRPCServer is the global server to serve gRPC.
ListeningURL is filled in when calling Run, contains the server URL.
Port is part of the flags used when calling RegisterDefaultFlags.
SocketFile has the flag used when calling RegisterDefaultSocketFileFlags.