Remove old code
This commit is contained in:
parent
fbc49bcf69
commit
29f436f938
|
@ -20,16 +20,16 @@ pub fn go(domains: &[&str]) {
|
|||
}
|
||||
}
|
||||
|
||||
/// An endpoint and the associated data
|
||||
///
|
||||
/// Each route represents a set of logic that should be used to respond to the request,
|
||||
/// and the necessary information from the request in order to do so
|
||||
pub enum Route<'a> {
|
||||
Next(&'a str),
|
||||
Prev(&'a str),
|
||||
NotFound,
|
||||
}
|
||||
|
||||
pub enum RuntimeStatic {
|
||||
JsonIndex,
|
||||
}
|
||||
|
||||
impl<'a> Route<'a> {
|
||||
pub fn parse_request(r: &'a Request) -> Self {
|
||||
let segments: Vec<_> = r.url()
|
||||
|
|
Loading…
Reference in a new issue