biz

package
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package biz is the place where you can implements more complex business logic.

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewBiz, wire.Bind(new(IBiz), new(*biz)))

ProviderSet contains providers for creating instances of the biz struct using Google Wire.

Functions

func NewBiz

func NewBiz(ds store.IStore) *biz

NewBiz creates a new instance of the biz struct, implementing the IBiz interface.

Types

type IBiz

type IBiz interface {
	CronJobs() cronjob.CronJobBiz
	Jobs() job.JobBiz
}

IBiz defines the interface for accessing business logic related to cron jobs and jobs.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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