secure_code_repository

package
v0.0.0-...-0eeeb36 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISecureCodeRepository

type ISecureCodeRepository interface {
	Add(*security_code_model.SecureCode) error
	Delete(int64) error
	GetLatestForUserByType(int64, security_code_model.SecureCodeType) (*security_code_model.SecureCode, error)
}

type SecureCodeRepository

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

func DefaultSecureCodeRepository

func DefaultSecureCodeRepository(dbx *sqlx.DB) *SecureCodeRepository

func (*SecureCodeRepository) Add

func (*SecureCodeRepository) Delete

func (scr *SecureCodeRepository) Delete(id int64) error

func (*SecureCodeRepository) GetLatestForUserByType

get all events

Jump to

Keyboard shortcuts

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