fyni

Types

pub type Context(user) =
  context.Context(user)
pub type Route(user) =
  route.Route(user)
pub type Router(user) =
  router.Router(user)

Values

pub const delete: fn(
  router.Router(f),
  String,
  fn(context.Context(f)) -> response.Response(wisp.Body),
) -> router.Router(f)
pub const get: fn(
  router.Router(b),
  String,
  fn(context.Context(b)) -> response.Response(wisp.Body),
) -> router.Router(b)
pub const get_path_param: fn(context.Context(j), String) -> Result(
  String,
  Nil,
)
pub const get_query_param: fn(context.Context(k), String) -> Result(
  String,
  Nil,
)
pub const match: fn(
  router.Router(h),
  request.Request(wisp.Connection),
) -> Result(route.Route(h), Nil)
pub const openapi: fn(router.Router(g), String, String) -> router.Router(
  g,
)
pub const patch: fn(
  router.Router(e),
  String,
  fn(context.Context(e)) -> response.Response(wisp.Body),
) -> router.Router(e)
pub const post: fn(
  router.Router(c),
  String,
  fn(context.Context(c)) -> response.Response(wisp.Body),
) -> router.Router(c)
pub const put: fn(
  router.Router(d),
  String,
  fn(context.Context(d)) -> response.Response(wisp.Body),
) -> router.Router(d)
pub const router: fn() -> router.Router(a)
Search Document