Helios v0.1.0 Helios.Endpoint behaviour View Source
Entry point for domain.
It holds
Example
defmodule MyApp.Endpoint do
use Helios.Endpoint, otp_app: :my_app
# add any plugs you need since endpoint behavise like pipeline
# plug MyApp.SomePlug
plug MyApp.Router
end
Link to this section Summary
Callbacks
Get configuration for given endpoint
Initializes endpoint configuration
Allows instrumenting operation defined by function
Starts endpoint supervision tree
Link to this section Types
Link to this section Callbacks
Get configuration for given endpoint.
Initializes endpoint configuration
Allows instrumenting operation defined by function
.
runtime_metadata
may be omitted and defaults to nil
.
Read more about instrumentation in the “Instrumentation” section.
Starts endpoint supervision tree.