admin

package
v0.0.0-...-bf9679a Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminServiceImpl

func NewAdminServiceImpl(
	adminRepository admin.AdminRepository,
	passwordGenerator generator.PasswordGenerator,
	tokenGenerator generator.TokenGenerator,
) *adminServiceImpl

Types

type AdminService

type AdminService interface {
	Login(ctx context.Context, credential payload.Credential) (token string, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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