GrpcServer
io.github.positionpal.location.grpc.GrpcServer
object GrpcServer
The gRPC server entry point.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GrpcServer.type
Members list
Type members
Classlikes
object Configuration
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Configuration.type
trait Configuration
Configuration for the gRPC server.
Configuration for the gRPC server.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
def start[F[_] : Async](configuration: Configuration, services: Set[ServerServiceDefinition]): Resource[F, Server]
Startup a new gRPC server configured as per the given Configuration and wired with the given services.
Startup a new gRPC server configured as per the given Configuration and wired with the given services.
Attributes
- Returns
-
a Resource encapsulating a Server instance in the
F
effect type context, that will start and stop the server when acquired and released, respectively.
In this article