Skip to content

codingcdh88/nuri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

nuri

Nuri is web library on golang

Version

v1.0.0

Example

print "Hello, World!" with status code, 200

nuri.GET("/", func(c nuri.Context) (int, string) {
  return 200, "Hello, World!"
})

print "<Hello, World!>"

nuri.GET("/", func(c nuri.Context) (int, string) {
  return c.ToText(200, "<Hello, World!>")
})

print HTML

nuri.GET("/", func(c nuri.Context) (int, string) {
  return 200, "<h1>Hello, World!</h1>"
})

How to run

nuri.Run(":5000")

It runs on localhost:5000

About

Nuri is web library on golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages