Packages

p

glngn.server

prelude

package prelude

Provides a custom prelude that re-exports common dependencies.

import glngn.prelude._

Use of this prelude is not required. Each aspect is provided as a mix-in and separate object.

For example, to import only the types and values defined in glngn.server that are generally useful for development:

import glngn.server.prelude.GlngnServerPrelude._
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. prelude
  2. PreludeLike
  3. ExternalPrelude
  4. TemporalPrelude
  5. PathPrelude
  6. LoggingPrelude
  7. JSONPrelude
  8. AutoDerivation
  9. GenericsPrelude
  10. FuturePrelude
  11. AkkaPrelude
  12. ZIOPrelude
  13. GlngnServerPrelude
  14. GlngnServerCorePrelude
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type :+:[+H, +T <: Coproduct] = shapeless.:+:[H, T]
    Definition Classes
    GenericsPrelude
  2. type ::[+H, +T <: HList] = shapeless.::[H, T]
    Definition Classes
    GenericsPrelude
  3. type ActorContext[T] = akka.actor.typed.scaladsl.ActorContext[T]
    Definition Classes
    AkkaPrelude
  4. type ActorMaterializer = akka.stream.ActorMaterializer
    Definition Classes
    AkkaPrelude
  5. type ActorRef[-T] = akka.actor.typed.ActorRef[T]
    Definition Classes
    AkkaPrelude
  6. type ActorSpawner = core.ActorSpawner

    Definition Classes
    GlngnServerCorePrelude
  7. type ActorSystem[-T] = akka.actor.typed.ActorSystem[T]
    Definition Classes
    AkkaPrelude
  8. type ActorSystemConfig = com.typesafe.config.Config
    Definition Classes
    AkkaPrelude
  9. type Address = akka.actor.Address
    Definition Classes
    AkkaPrelude
  10. trait AkkaHttp extends AnyRef
  11. trait AkkaPrelude extends AnyRef

    Mixin and object that provides a reasonable prelude for Akka.

    Mixin and object that provides a reasonable prelude for Akka.

    The focus is on typed Akka only. Other shared types are exported.

    Untyped variants are exported under an untyped object.

  12. implicit final class TypedActorRefOps extends AnyRef
    Definition Classes
    AkkaPrelude
  13. implicit final class TypedSystemOps extends AnyRef
    Definition Classes
    AkkaPrelude
  14. type AllReps = shapeless.::[HTML, ::[XML, ::[JSON, ::[Txt, HNil]]]]

    Definition Classes
    GlngnServerCorePrelude
  15. type AskTimeoutException = akka.pattern.AskTimeoutException
    Definition Classes
    AkkaPrelude
  16. type Behavior[T] = akka.actor.typed.Behavior[T]
    Definition Classes
    AkkaPrelude
  17. type BitVector = scodec.bits.BitVector
    Definition Classes
    ExternalPrelude
  18. type ByteString = akka.util.ByteString
    Definition Classes
    AkkaPrelude
  19. type ByteVector = scodec.bits.ByteVector
    Definition Classes
    ExternalPrelude
  20. type CNil = shapeless.CNil
    Definition Classes
    GenericsPrelude
  21. type Cancellable = akka.actor.Cancellable
    Definition Classes
    AkkaPrelude
  22. type ChronoUnit = java.time.temporal.ChronoUnit
    Definition Classes
    TemporalPrelude
  23. type Coproduct = shapeless.Coproduct
    Definition Classes
    GenericsPrelude
  24. type DataReps = shapeless.::[JSON, ::[Txt, HNil]]

    Definition Classes
    GlngnServerCorePrelude
  25. type DispatcherSelector = akka.actor.typed.DispatcherSelector
    Definition Classes
    AkkaPrelude
  26. type Effect[+E, State] = akka.persistence.typed.scaladsl.Effect[E, State]
    Definition Classes
    AkkaPrelude
  27. type EffectBuilder[+E, State] = akka.persistence.typed.scaladsl.EffectBuilder[E, State]
    Definition Classes
    AkkaPrelude
  28. type Entity[M, E] = akka.cluster.sharding.typed.scaladsl.Entity[M, E]
    Definition Classes
    AkkaPrelude
  29. type EntityContext = akka.cluster.sharding.typed.scaladsl.EntityContext
    Definition Classes
    AkkaPrelude
  30. type EntityRef[T] = akka.cluster.sharding.typed.scaladsl.EntityRef[T]
    Definition Classes
    AkkaPrelude
  31. type EntityTypeKey[T] = akka.cluster.sharding.typed.scaladsl.EntityTypeKey[T]
    Definition Classes
    AkkaPrelude
  32. type EventSourcedBehavior[Command, Event, State] = akka.persistence.typed.scaladsl.EventSourcedBehavior[Command, Event, State]
    Definition Classes
    AkkaPrelude
  33. type ExecutionContext = scala.concurrent.ExecutionContext
    Definition Classes
    FuturePrelude
  34. type ExecutionContextExecutor = scala.concurrent.ExecutionContextExecutor
    Definition Classes
    FuturePrelude
  35. type Exit[+E, +A] = zio.Exit[E, A]
    Definition Classes
    ZIOPrelude
  36. trait ExternalPrelude extends ZIOPrelude with AkkaPrelude with FuturePrelude with GenericsPrelude with JSONPrelude with LoggingPrelude with PathPrelude with TemporalPrelude
  37. type Future[+T] = scala.concurrent.Future[T]
    Definition Classes
    FuturePrelude
  38. trait FuturePrelude extends AnyRef

    Future exists as it came before.

    Future exists as it came before. Tho this future is not for the now.

  39. type FuturePromise[T] = scala.concurrent.Promise[T]
    Definition Classes
    FuturePrelude
  40. trait GenericsPrelude extends AnyRef
  41. trait GlngnServerCorePrelude extends AnyRef
  42. implicit final class ImpliedStatusOps[T] extends AnyRef

    Definition Classes
    GlngnServerCorePrelude
  43. trait GlngnServerPrelude extends GlngnServerCorePrelude
  44. type HList = shapeless.HList
    Definition Classes
    GenericsPrelude
  45. type HNil = shapeless.HNil
    Definition Classes
    GenericsPrelude
  46. type IO[+E, +A] = zio.ZIO[Any, E, A]
    Definition Classes
    ZIOPrelude
  47. trait ImpliedStatus[T] extends AnyRef

    Response types are all required to have a function from a value of that type to the HTTP response code.

    Response types are all required to have a function from a value of that type to the HTTP response code. This is the ImpliedStatus property of the response type.

    A default is provided in ImpliedStatusDefaults. This maps all values to 200 OK.

  48. trait ImpliedStatusDefaults extends AnyRef

  49. type Injector = core.rts.Injector

    Definition Classes
    GlngnServerCorePrelude
  50. type Instant = java.time.Instant
    Definition Classes
    TemporalPrelude
  51. trait JSONPrelude extends AutoDerivation
  52. implicit final class JsonStringContext extends AnyRef
    Definition Classes
    JSONPrelude
  53. type Json = io.circe.Json
    Definition Classes
    JSONPrelude
  54. type JsonNumber = io.circe.JsonNumber
    Definition Classes
    JSONPrelude
  55. type JsonObject = io.circe.JsonObject
    Definition Classes
    JSONPrelude
  56. type LabelledGeneric[A] = shapeless.LabelledGeneric[A]
    Definition Classes
    GenericsPrelude
  57. type Lazy[+T] = shapeless.Lazy[T]
    Definition Classes
    GenericsPrelude
  58. final type Logger = org.apache.logging.log4j.scala.Logger
    Definition Classes
    LoggingPrelude
  59. trait LoggingPrelude extends AnyRef

    Mixins useful for logging.

    Mixins useful for logging. Use DirectLogging for logging outside of IO. Use IOLogging for logging within IO.

    The logging backend is log4j 2. The SLFJ (1.7), commons logging (JCL), java util logging (JUL) APIs all have the respective bridges included.

  60. trait DirectLogging extends AnyRef

    Mixin to add a log4j.scala.Logger instance logger.

    Mixin to add a log4j.scala.Logger instance logger.

    A logger instance is also available within the actor context. These are all configured appropriately. Code may be better suited to log under the ServiceFragment class or the specific actor implementing part of the fragment via ServiceFragment.Instance.bindings.

    Definition Classes
    LoggingPrelude
  61. trait IOLogging extends AnyRef

    Mixin to add a logger object containing logging methods in ZIO that use this class's logger.

    Mixin to add a logger object containing logging methods in ZIO that use this class's logger.

    The logger is also accessible with _unsafeLogger outside of ZIO.

    Definition Classes
    LoggingPrelude
  62. type Message = core.serdes.Message

    Definition Classes
    GlngnServerCorePrelude
  63. type ParIO[E, A] = zio.ZIO[Any, E, A]
    Definition Classes
    ZIOPrelude
  64. type Path = java.nio.file.Path
    Definition Classes
    PathPrelude
  65. trait PathPrelude extends AnyRef
  66. type PersistenceId = akka.persistence.typed.PersistenceId
    Definition Classes
    AkkaPrelude
  67. type PostStop = akka.actor.typed.PostStop
    Definition Classes
    AkkaPrelude
  68. type PreRestart = akka.actor.typed.PreRestart
    Definition Classes
    AkkaPrelude
  69. abstract class PreludeLike extends GlngnServerPrelude with ExternalPrelude
  70. type Promise[E, A] = zio.Promise[E, A]
    Definition Classes
    ZIOPrelude
  71. sealed trait Rep extends AnyRef

    Declaration of exported representations is done with a single or HList of Rep types.

    Declaration of exported representations is done with a single or HList of Rep types.

    The export language is:

    Exported Representations = Rep * Rep = Rep.Txt | Rep.HTML | Rep.JSON | Rep.XML

    TODO: Move under core. re-export in CorePrelude

  72. type ReplyEffect[+E, State] = akka.persistence.typed.scaladsl.ReplyEffect[E, State]
    Definition Classes
    AkkaPrelude
  73. type ResourceRep[T] = core.endpoints.ResourceRep[T]

    Definition Classes
    GlngnServerCorePrelude
  74. type Scheduler = akka.actor.Scheduler
    Definition Classes
    AkkaPrelude
  75. type ServiceConfigurationError = java.util.ServiceConfigurationError
    Definition Classes
    ExternalPrelude
  76. type ServiceKey[T] = akka.actor.typed.receptionist.ServiceKey[T]
    Definition Classes
    AkkaPrelude
  77. type SpawnProtocol = akka.actor.typed.SpawnProtocol
    Definition Classes
    AkkaPrelude
  78. type SupervisorStrategy = akka.actor.typed.SupervisorStrategy
    Definition Classes
    AkkaPrelude
  79. type Task[+A] = zio.ZIO[Any, Throwable, A]
    Definition Classes
    ZIOPrelude
  80. trait TemporalPrelude extends AnyRef
  81. type Terminated = akka.actor.typed.Terminated
    Definition Classes
    AkkaPrelude
  82. type Timeout = akka.util.Timeout
    Definition Classes
    AkkaPrelude
  83. type TimeoutException = java.util.concurrent.TimeoutException
    Definition Classes
    TemporalPrelude
  84. type Try[+R] = scala.util.Try[R]
    Definition Classes
    ExternalPrelude
  85. type UIO[+A] = zio.ZIO[Any, Nothing, A]
    Definition Classes
    ZIOPrelude
  86. trait UntypedAkkaPrelude extends AnyRef
  87. type ZIO[-R, +E, +A] = zio.ZIO[R, E, A]
    Definition Classes
    ZIOPrelude
  88. type ZIODuration = Duration
    Definition Classes
    ZIOPrelude
  89. trait ZIOPrelude extends AnyRef

    Non-mixin that can be extended to include zio aspects.

Value Members

  1. lazy val ActorMaterializer: akka.stream.ActorMaterializer.type
    Definition Classes
    AkkaPrelude
  2. lazy val ActorRef: akka.actor.typed.ActorRef.type
    Definition Classes
    AkkaPrelude
  3. lazy val ActorSystem: akka.actor.typed.ActorSystem.type
    Definition Classes
    AkkaPrelude
  4. lazy val Address: akka.actor.Address.type
    Definition Classes
    AkkaPrelude
  5. lazy val AskPattern: akka.actor.typed.scaladsl.AskPattern.type
    Definition Classes
    AkkaPrelude
  6. lazy val Behavior: akka.actor.typed.Behavior.type
    Definition Classes
    AkkaPrelude
  7. lazy val Behaviors: akka.actor.typed.scaladsl.Behaviors.type
    Definition Classes
    AkkaPrelude
  8. val BitVector: scodec.bits.BitVector.type
    Definition Classes
    ExternalPrelude
  9. lazy val ByteString: akka.util.ByteString.type
    Definition Classes
    AkkaPrelude
  10. val ByteVector: scodec.bits.ByteVector.type
    Definition Classes
    ExternalPrelude
  11. lazy val ChildFailed: akka.actor.typed.ChildFailed.type
    Definition Classes
    AkkaPrelude
  12. lazy val CirceSemiauto: semiauto.type
    Definition Classes
    JSONPrelude
  13. lazy val Cluster: akka.cluster.typed.Cluster.type
    Definition Classes
    AkkaPrelude
  14. val Coproduct: shapeless.Coproduct.type
    Definition Classes
    GenericsPrelude
  15. lazy val DispatcherSelector: akka.actor.typed.DispatcherSelector.type
    Definition Classes
    AkkaPrelude
  16. lazy val DistributedData: akka.cluster.ddata.typed.scaladsl.DistributedData.type
    Definition Classes
    AkkaPrelude
  17. lazy val Entity: akka.cluster.sharding.typed.scaladsl.Entity.type
    Definition Classes
    AkkaPrelude
  18. lazy val EntityTypeKey: akka.cluster.sharding.typed.scaladsl.EntityTypeKey.type
    Definition Classes
    AkkaPrelude
  19. lazy val EventSourcedBehavior: akka.persistence.typed.scaladsl.EventSourcedBehavior.type
    Definition Classes
    AkkaPrelude
  20. val ExecutionContext: scala.concurrent.ExecutionContext.type
    Definition Classes
    FuturePrelude
  21. val Exit: zio.Exit.type
    Definition Classes
    ZIOPrelude
  22. val Future: scala.concurrent.Future.type
    Definition Classes
    FuturePrelude
  23. val FutureAwait: Await.type
    Definition Classes
    FuturePrelude
  24. val FuturePromise: scala.concurrent.Promise.type
    Definition Classes
    FuturePrelude
  25. val HList: shapeless.HList.type
    Definition Classes
    GenericsPrelude
  26. val HNil: shapeless.HNil.type
    Definition Classes
    GenericsPrelude
  27. val IO: zio.IO.type
    Definition Classes
    ZIOPrelude
  28. lazy val Injector: core.rts.Injector.type

    Definition Classes
    GlngnServerCorePrelude
  29. lazy val Json: io.circe.Json.type
    Definition Classes
    JSONPrelude
  30. lazy val JsonNumber: io.circe.JsonNumber.type
    Definition Classes
    JSONPrelude
  31. lazy val JsonObject: io.circe.JsonObject.type
    Definition Classes
    JSONPrelude
  32. val LabelledGeneric: shapeless.LabelledGeneric.type
    Definition Classes
    GenericsPrelude
  33. final val Logger: org.apache.logging.log4j.scala.Logger.type
    Definition Classes
    LoggingPrelude
  34. lazy val NotUsed: akka.NotUsed.type
    Definition Classes
    AkkaPrelude
  35. lazy val PersistenceId: akka.persistence.typed.PersistenceId.type
    Definition Classes
    AkkaPrelude
  36. lazy val PostStop: akka.actor.typed.PostStop.type
    Definition Classes
    AkkaPrelude
  37. lazy val PreRestart: akka.actor.typed.PreRestart.type
    Definition Classes
    AkkaPrelude
  38. val Promise: zio.Promise.type
    Definition Classes
    ZIOPrelude
  39. lazy val Receptionist: akka.actor.typed.receptionist.Receptionist.type
    Definition Classes
    AkkaPrelude
  40. lazy val Replicator: akka.cluster.ddata.typed.scaladsl.Replicator.type
    Definition Classes
    AkkaPrelude
  41. val ResourceRep: core.endpoints.ResourceRep.type

    Definition Classes
    GlngnServerCorePrelude
  42. lazy val ServiceKey: akka.actor.typed.receptionist.ServiceKey.type
    Definition Classes
    AkkaPrelude
  43. lazy val SpawnProtocol: akka.actor.typed.SpawnProtocol.type
    Definition Classes
    AkkaPrelude
  44. lazy val SupervisorStrategy: akka.actor.typed.SupervisorStrategy.type
    Definition Classes
    AkkaPrelude
  45. val Task: zio.Task.type
    Definition Classes
    ZIOPrelude
  46. lazy val Terminated: akka.actor.typed.Terminated.type
    Definition Classes
    AkkaPrelude
  47. lazy val Timeout: akka.util.Timeout.type
    Definition Classes
    AkkaPrelude
  48. lazy val Try: scala.util.Try.type
    Definition Classes
    ExternalPrelude
  49. val UIO: zio.UIO.type
    Definition Classes
    ZIOPrelude
  50. implicit val UnitCaseAppParser: Parser[Unit]
    Definition Classes
    ExternalPrelude
  51. val Witness: shapeless.Witness.type
    Definition Classes
    GenericsPrelude
  52. val ZIO: zio.ZIO.type
    Definition Classes
    ZIOPrelude
  53. val ZIODuration: Duration.type
    Definition Classes
    ZIOPrelude
  54. implicit val circeGenericDerivationConfiguration: Configuration
    Definition Classes
    JSONPrelude
  55. def doneListener(actorSpawner: ActorSpawner)(onDone: ⇒ Unit): ActorRef[Done]
    Definition Classes
    AkkaPrelude
  56. implicit def durationInt(n: Int): DurationConversions
    Definition Classes
    TemporalPrelude
  57. implicit def durationLong(n: Long): DurationConversions
    Definition Classes
    TemporalPrelude
  58. implicit macro def exportDecoder[A]: Exported[Decoder[A]]
    Definition Classes
    AutoDerivation
  59. implicit macro def exportEncoder[A]: Exported[AsObject[A]]
    Definition Classes
    AutoDerivation
  60. def fatal(msg: String): Nothing
    Definition Classes
    FuturePrelude
  61. implicit final def ioIterableSyntax[R, E, A](ios: Iterable[ZIO[R, E, A]]): IterableSyntax[R, E, A]
    Definition Classes
    ZIOPrelude
  62. implicit final def ioSequenceSyntax[E, A](ios: Iterable[A]): IOSequenceSyntax[E, A]
    Definition Classes
    ZIOPrelude
  63. object AkkaHttp extends AkkaHttp
  64. object AkkaPrelude extends AkkaPrelude
  65. object Effect

    Forwards akka.persistence.typed.scaladsl.Effect with additional type constraints.

    Forwards akka.persistence.typed.scaladsl.Effect with additional type constraints.

    Definition Classes
    AkkaPrelude
  66. object untyped extends UntypedAkkaPrelude
    Definition Classes
    AkkaPrelude
  67. object ImpliedStatus extends ImpliedStatusDefaults

  68. object Paths
    Definition Classes
    PathPrelude
  69. object Rep
  70. object ChronoUnit
    Definition Classes
    TemporalPrelude
  71. object Instant
    Definition Classes
    TemporalPrelude
  72. object duration
    Definition Classes
    TemporalPrelude
  73. object ZIOPrelude

Inherited from PreludeLike

Inherited from ExternalPrelude

Inherited from TemporalPrelude

Inherited from PathPrelude

Inherited from LoggingPrelude

Inherited from JSONPrelude

Inherited from AutoDerivation

Inherited from GenericsPrelude

Inherited from FuturePrelude

Inherited from AkkaPrelude

Inherited from ZIOPrelude

Inherited from GlngnServerPrelude

Inherited from GlngnServerCorePrelude

Inherited from AnyRef

Inherited from Any

Domain

Service Logic

Ungrouped