Gemini.Site.Authenticated (Gemini v0.2.0)

This module blocks requests without a user certificate.

Unauthenticated requests receive a 60 status code (CLIENT CERTIFICATE REQUIRED). Authenticated requests are passed through.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Start site.

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

make_response(status, meta, body, attrs)

Link to this function

start_link(list)

Start site.

  • name name of the server.
  • path Path prefix.

args is a keyword list with the following options:

  • sites a site-map (see Gemini) relative to path.