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: ? 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

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