From 3e2d486f752148b8bbf028d1816c0c1e2ebe1060 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Fri, 29 Nov 2019 17:12:53 +0100 Subject: [PATCH] auth: add auth level constant --- auth/config.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/auth/config.go b/auth/config.go index a4eb713..6eccf60 100644 --- a/auth/config.go +++ b/auth/config.go @@ -8,6 +8,11 @@ import ( "github.com/lightninglabs/kirin/freebie" ) +const ( + // LevelOff is the default level where no authentication is required. + LevelOff Level = "off" +) + type Level string func (l Level) lower() string {