Skip to content

ofzo/randua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A random user-agent

base a project surferua (go-lang) (git@github.com:jiusanzhou/surferua.git) -- thank you

use crate::randua;

fn main(){
    randua::new().firefox().phone().to_string(); // a firefox and mobile user agent
    randua::new().chrome().phone().to_string(); // a chrome and mobile user agent
    randua::new().chrome().desktop().to_string(); // a chrome and desktop user agent
    randua::new().to_string(); // a random user agent
}

Releases

No releases published

Packages

No packages published

Languages