MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / Page

Class Page

gopher/src/main.rs:205–210  ·  view source on GitHub ↗

Describes a page which can be visited

Source from the content-addressed store, hash-verified

203
204/// Describes a page which can be visited
205struct Page {
206 host: String, // e.g. "gopher.floodgap.com"
207 selector: String, // e.g. ""
208 port: u16, // e.g. 70
209 is_map: bool // Is this a gophermap?
210}
211
212impl Page {
213 fn new(host: &str, selector: &str, port: u16, is_map: bool)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected