infrastructure

package
v0.0.0-...-165d855 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dlr

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

Dlr is a struct that represents the ebus mapper of a dlr basic values.

func NewDlr

func NewDlr(pb *pb.Dlr) *Dlr

NewDlr creates a new *Dlr.

func NewDlrFromEntity

func NewDlrFromEntity(entity me.Dlr) *Dlr

NewDlrFromEntity creates a new *Dlr from entity.

func (*Dlr) String

func (s *Dlr) String() string

String returns a string representation of the Dlr.

func (*Dlr) ToEntity

func (s *Dlr) ToEntity() *me.Dlr

ToEntity returns a entity representation of the Dlr.

func (*Dlr) ToPb

func (s *Dlr) ToPb() *pb.Dlr

ToPb returns a protobuf representation of the Dlr.

type Dlrs

type Dlrs []*Dlr

func NewDlrFromEntities

func NewDlrFromEntities(entities []me.Dlr) Dlrs

NewDlrsFromEntities creates a new []*Dlr from entities.

func (Dlrs) ToPbs

func (s Dlrs) ToPbs() *pb.Dlrs

ToPbs returns a protobuf representation of the Dlrs.

Jump to

Keyboard shortcuts

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