portfolio

package
v0.0.0-...-8b6722b Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeletePortfolioInput

type DeletePortfolioInput struct {
	ID pulid.PULID
}

type PortfolioService

type PortfolioService struct {
	// contains filtered or unexported fields
}

func NewPortfolioService

func NewPortfolioService(logger logr.Logger) *PortfolioService

func (PortfolioService) CreatePortfolio

func (portfolioService PortfolioService) CreatePortfolio(
	ctx context.Context, input ent.CreatePortfolioInput,
) (*ent.Portfolio, error)

func (PortfolioService) UpdatePortfolio

func (portfolioService PortfolioService) UpdatePortfolio(
	ctx context.Context, id pulid.PULID, input ent.UpdatePortfolioInput,
) (*ent.Portfolio, error)

type PortfolioServicer

type PortfolioServicer interface {
	CreatePortfolio(
		ctx context.Context, input ent.CreatePortfolioInput,
	) (*ent.Portfolio, error)
	UpdatePortfolio(ctx context.Context, id pulid.PULID, input ent.UpdatePortfolioInput) (*ent.Portfolio, error)
}

Jump to

Keyboard shortcuts

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