service

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CredentialService

type CredentialService struct {
	AesConverter *utils.AESconverter
	// contains filtered or unexported fields
}

func NewCredentialService

func NewCredentialService(db *gorm.DB) *CredentialService

func (*CredentialService) CreateCredential

TODO - 이름 중복 체크 추가

func (*CredentialService) DeleteCredential

func (c *CredentialService) DeleteCredential(id uint64) error

func (*CredentialService) GetCredentialById

func (c *CredentialService) GetCredentialById(id uint64) (*models.Credential, error)

func (*CredentialService) ListCredentials

func (c *CredentialService) ListCredentials() ([]models.CredentialListResponse, error)

func (*CredentialService) UpdateCredential

func (c *CredentialService) UpdateCredential(id uint64, req models.Credential) (*models.Credential, error)

Jump to

Keyboard shortcuts

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