repo

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCodeRepo

type AuthCodeRepo interface {
	CreateCode(ctx context.Context, data obj.CodeOpenId) error
	DelCode(ctx context.Context, repo AuthCodeSpecificationRepo) error
	QueryCode(ctx context.Context, repo AuthCodeSpecificationRepo) (data obj.CodeOpenId, err error)
}

type AuthCodeSpecificationRepo

type AuthCodeSpecificationRepo interface {
	ParameterCheck(ctx context.Context) error
	ToSql(ctx context.Context) interface{}
}

type AuthTokenRepo

type AuthTokenRepo interface {
	CreateAuthToken(ctx context.Context, data obj.AuthToken) error
	UpdateAuthToken(ctx context.Context, data obj.AuthToken) error
	QueryAuthToken(ctx context.Context, repo AuthTokenSpecificationRepo) (obj.AuthToken, error)
}

type AuthTokenSpecificationRepo

type AuthTokenSpecificationRepo interface {
	ParameterCheck(ctx context.Context) error
	ToSql(ctx context.Context) interface{}
}

type MerChantSpecificationRepo

type MerChantSpecificationRepo interface {
	ParameterCheck(ctx context.Context) error
	ToSql(ctx context.Context) interface{}
}

type MerchantRepo

type MerchantRepo interface {
	CreateMerChant(ctx context.Context, data *entity.Merchant) error
	UpdateMerChant(ctx context.Context, data *entity.Merchant) error
	RemoveMerChant(ctx context.Context, data *entity.Merchant) error
	QueryMerChant(ctx context.Context, repo MerChantSpecificationRepo) (data *entity.Merchant, err error)
	QueryMerChants(ctx context.Context, repo MerChantSpecificationRepo) (data []*entity.Merchant, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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