Skip to main content

parse

Function parse 

Source
pub fn parse(body: &str) -> Vec<GopherItem>
Expand description

Parse a gopher menu body into items, in source order. Stops at the RFC 1436 . terminator; skips blank and malformed lines (a non-info/error item with no host, or a URL item with no target).