licserver

package module
v0.0.0-...-531dc2c Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

README

caddy-licserver

License server plugin for Caddy server (base on https://github.com/SaturnsVoid/HWID-Based-License-System)

licensemanager.exe - utilities for manage license db, commands: list, add, add bulk, remove, exit

Make this steps for compilation caddy with plugin caddy-licserver:

  • add directive in var section: "licserver", // github.com/linkonoid/caddy-licserver (in file github.com\mholt\caddy\caddyhttp\httpserver\plugin.go)
  • add in import section _ "github.com/linkonoid/caddy-licserver" (in caddymain/run.go)
  • add directives in Caddyfile ()

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configs []Config

Functions

func CheckFileExist

func CheckFileExist(filePath string) bool

Types

type Config

type Config struct {
	Dbname string
}

type Licserver

type Licserver struct {
	Next    httpserver.Handler
	Configs []Config
}

func (Licserver) ServeHTTP

func (h Licserver) ServeHTTP(response http.ResponseWriter, request *http.Request) (int, error)

Jump to

Keyboard shortcuts

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