Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPMessageReceiver ¶
HTTPMessageReceiver is responsible for receiving messages over HTTP.
func NewHTTPMessageReceiver ¶
func NewHTTPMessageReceiver(port int) *HTTPMessageReceiver
NewHTTPMessageReceiver returns a new NewHTTPMessageReceiver instance with the given Port.
func (*HTTPMessageReceiver) BaseURL ¶
func (r *HTTPMessageReceiver) BaseURL() string
func (*HTTPMessageReceiver) StartListen ¶
func (r *HTTPMessageReceiver) StartListen(ctx context.Context, handler http.Handler, logger *kymalogger.Logger) error
StartListen starts the HTTP message receiver and blocks until it receives a shutdown signal.
Click to show internal directories.
Click to hide internal directories.