GrpcServer

io.github.positionpal.location.grpc.GrpcServer
object GrpcServer

The gRPC server entry point.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
GrpcServer.type

Members list

Type members

Classlikes

object Configuration

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Configuration for the gRPC server.

Configuration for the gRPC server.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class 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.