Bootstrapped the creation and loading of session keys to lighten main.
This commit is contained in:
7
helpers/session/encoding.go
Normal file
7
helpers/session/encoding.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package helpers
|
||||
|
||||
import "encoding/base64"
|
||||
|
||||
func EncodeKey(b []byte) string {
|
||||
return base64.StdEncoding.EncodeToString(b)
|
||||
}
|
||||
Reference in New Issue
Block a user