port

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserAccessService

type UserAccessService interface {
	CreateUser(ctx context.Context, user domain.UserAccess) error
	GetUser(ctx context.Context, uid string) (domain.UserAccess, error)
	UpdateUser(ctx context.Context, user domain.UserAccess) (domain.UserAccess, error)
	DeleteUser(ctx context.Context, uid string) error
}

type UserAccessServiceAdapter

type UserAccessServiceAdapter interface {
	InsertUser(ctx context.Context, user domain.UserAccess) error
	SelectUserByID(ctx context.Context, uid string) (domain.UserAccess, error)
	UpsertUser(ctx context.Context, user domain.UserAccess) (domain.UserAccess, error)
	DeleteUserByID(ctx context.Context, uid string) error
}

Jump to

Keyboard shortcuts

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