sabik

module
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: Apache-2.0

README

sabik

CircleCI Go Report Card codecov

import(
    "github.com/tufin/sabik/client"
)

func handle(w http.ResponseWriter, r *http.Request) {
	// Your API Logic
}

logMiddleware := client.CreateMiddleware(client.Config{
		Domain:      "test",
		Project:     "me",
		Enable:      true,
		ServiceName: "my-svc",
		APIKey:      "my-key",
	})
http.Handle("/hello", logMiddleware.Handle(http.HandlerFunc(handle)))

Directories

Path Synopsis
env

Jump to

Keyboard shortcuts

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