package
0.0.0-20250304205544-71af207b4383
Repository: https://github.com/mongodb/jasper.git
Documentation: pkg.go.dev
# Functions
AttachService attaches the jasper GRPC server to the given manager.
NewRESTClient creates a REST client with a new HTTP client that connects to the given address running the Jasper REST service.
NewRESTClientWithExistingClient creates a REST client that uses an existing HTTP client to connect to the given address running the Jasper REST service.
NewRESTService creates a service object around an existing manager.
NewRPCClient creates a connection to the RPC service with the specified address addr.
NewRPCClientWithFile is the same as NewRPCClient but the credentials will be read from the file given by filePath if the filePath is non-empty.
StartRPCService starts an RPC server with the specified address addr around the given manager.
StartRPCServiceWithFile is the same as StartService, but the credentials will be read from the file given by filePath if the filePath is non-empty.
# Variables
ErrLoggingCacheNotSupported is an error indicating that the remote interface does not have a logging cache available.
# Structs
Service defines a REST service that provides a remote manager, using gimlet to publish routes.
# Interfaces
Manager provides an interface to access all functionality from a Jasper service.