Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class InitApi

An annotation which identifies a function as one which will be called when the server starts up. The function should take an InitApiContext as its only parameter.

Link copied to clipboard
class InitApiContext(val env: Environment, val apis: Apis, val data: MutableData, val events: Events, val logger: Logger)

A container for a bunch of relevant utility classes that may be useful when starting up a server.