member

package
v1.6.18 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemberManagerCtx

type MemberManagerCtx struct {
	// contains filtered or unexported fields
}

func New

func New(sessions types.SessionManager, config *config.Member) *MemberManagerCtx

func (*MemberManagerCtx) Authenticate

func (manager *MemberManagerCtx) Authenticate(username string, password string) (string, types.MemberProfile, error)

func (*MemberManagerCtx) Connect

func (manager *MemberManagerCtx) Connect() error

func (*MemberManagerCtx) Delete

func (manager *MemberManagerCtx) Delete(id string) error

func (*MemberManagerCtx) Disconnect

func (manager *MemberManagerCtx) Disconnect() error

func (*MemberManagerCtx) Insert

func (manager *MemberManagerCtx) Insert(username string, password string, profile types.MemberProfile) (string, error)

func (*MemberManagerCtx) Login

func (manager *MemberManagerCtx) Login(username string, password string) (types.Session, string, error)

func (*MemberManagerCtx) Logout

func (manager *MemberManagerCtx) Logout(id string) error

func (*MemberManagerCtx) Select

func (manager *MemberManagerCtx) Select(id string) (types.MemberProfile, error)

func (*MemberManagerCtx) SelectAll

func (manager *MemberManagerCtx) SelectAll(limit int, offset int) (map[string]types.MemberProfile, error)

func (*MemberManagerCtx) UpdatePassword

func (manager *MemberManagerCtx) UpdatePassword(id string, password string) error

func (*MemberManagerCtx) UpdateProfile

func (manager *MemberManagerCtx) UpdateProfile(id string, profile types.MemberProfile) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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