Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { }
Context structure is used to ensure all handlers have a standardized set of fields
type ContextInterface ¶
type ContextInterface interface { }
ContextInterface is used for embedded structures and subtyping
type HTTPContext ¶
type HTTPContext struct { Context PSK string // The pre-shared key password used prior to Password Authenticated Key Exchange (PAKE) JWTKey []byte // The password used by the server to create JWTs OpaqueKey kyber.Scalar // OPAQUE server's keys }
HTTPContext contains contextual information about a handler such as secrets for encrypt/decrypt
func (*HTTPContext) AgentHTTP ¶
func (ctx *HTTPContext) AgentHTTP(w http.ResponseWriter, r *http.Request)
AgentHTTP function is responsible for all Merlin agent traffic
Click to show internal directories.
Click to hide internal directories.