services

package
v0.0.0-...-df20c28 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerService

type ServerService interface {
	Create(ctx context.Context, serverPO *bo.Server) error
	Delete(ctx context.Context, id uint64) error
	Update(ctx context.Context, serverPO *bo.Server) error
	FindByID(ctx context.Context, id uint64) (*bo.Server, error)
	FindByPage(ctx context.Context, pageNum int, pageSize int) ([]*bo.Server, int, error)
}

func NewServerService

func NewServerService(
	db *gorm.DB,
	serverRepository repositories.ServerRepository,
) ServerService

Jump to

Keyboard shortcuts

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