Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = sqlx.ErrNotFound
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type CredentialModel ¶
type CredentialModel interface { CredentialList(ctx context.Context, options *credentialpb.CredentialListRequest) ([]*Credential, int64, error) // contains filtered or unexported methods }
CredentialModel is an interface to be customized, add more methods here, and implement the added methods in customCredentialModel.
func NewCredentialModel ¶
func NewCredentialModel(conn sqlx.SqlConn) CredentialModel
NewCredentialModel returns a model for the database table.
Click to show internal directories.
Click to hide internal directories.