witchserver

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2021 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

WitchServer

The witch Web server, Written in golang
This is a work-in-progress. So code might be a bit messy.
I will only release the working, stable versions of of witch.
If you want to try the unstable, you will have to build it.

Why is it named witch, welp https://randomwordgenerator.com/

How to build witch

Windows / Mac / Linux

cd witch
go get -u github.com/gen2brain/dlgs
go build ./witch.go

Information

The server will look for a index.html file when "/" is acessed so make sure to have that created
Nothing happens if you dont, you just get a error

Benchmarks

Tested on template : https://templatemo.com/tm-565-onix-digital
Its a big templates with lots of content to loade

Server Speed
Witch 2.19s
Nginx 3.11

ToDo List

  • Basic File loading and routeing
  • custom routes based on json file
  • php? or altertive
  • HTTPS!
  • Status gui
  • templateing based on json

This list is bond to grow, and fast.
So if there is a missing feature it will be on here soon

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址