Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct { PublicKey ed25519.PublicKey Handler goslash.InteractionHandler }
TODO test http handler
func NewHttpListener ¶
func (*Listener) InteractionEndpoint ¶
func (listener *Listener) InteractionEndpoint(w http.ResponseWriter, r *http.Request)
func (*Listener) ListenAndServe ¶
func (*Listener) SetHandler ¶
func (listener *Listener) SetHandler(handler goslash.InteractionHandler)
Click to show internal directories.
Click to hide internal directories.