controllers

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

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

Go to latest
Published: Jun 13, 2023 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillingServiceController

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

Controlador de servicio gRPC

func NewBillingServiceController

func NewBillingServiceController() (BillingServiceController, error)

Método a nivel de package, permite construir una instancia correcta del controlador de servicio gRPC

func (*BillingServiceController) AddItem

func (*BillingServiceController) CreateInvoice

func (c *BillingServiceController) CreateInvoice(ctx context.Context, msg *pb.Invoice) (*pb.Invoice, error)

Método que genera una factura (registro maestro)

func (*BillingServiceController) DeleteItem

func (*BillingServiceController) GetInvoices

func (c *BillingServiceController) GetInvoices(ctx context.Context, msg *pb.InvoiceFilter) (*pb.Invoices, error)

Método que obtiene facturas mediante criterio de búsqueda

func (*BillingServiceController) UpdateInvoice

func (c *BillingServiceController) UpdateInvoice(ctx context.Context, msg *pb.Invoice) (*pb.Invoice, error)

Jump to

Keyboard shortcuts

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