memory

package module
v0.0.0-...-2ed3ec8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: GPL-3.0 Imports: 6 Imported by: 1

README

Usage memory auth plugin

add config section to conf/app.ini

[auth]
; define auth plugin provider is redis
plugin = memory
[auth.public]
; public account is useful
enable = true
username = mqtt
password = public
; only public account supprted in memory provider

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNew

func MustNew(conf face.Conf) face.Auth

func New

func New(conf face.Conf) (face.Auth, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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