presentation

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogData

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

LogData is a struct that represents the dto of a log.

func NewLogData

func NewLogData(pb *pb.LogData) *LogData

NewLogData creates a new *LogData.

func NewLogDataFromEntity

func NewLogDataFromEntity(entity *me.LogData) *LogData

NewLogDataFromEntity creates a new *LogData from entity.

func NewLogDataFromPb deprecated

func NewLogDataFromPb(pb *pb.LogData) *LogData

NewLogDataFromPb creates a new *LogData from protobuf.

Deprecated: This struct is converted for decorator Use NewLogData instead.

func (*LogData) String

func (s *LogData) String() string

String returns a string representation of the LogData.

func (*LogData) ToEntity

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

ToEntity returns a entity representation of the LogData.

func (*LogData) ToPb

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

ToPb returns a protobuf representation of the LogData.

type LogDataFilter

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

LogDataFilter is a struct that represents the filter dto of a log.

func NewLogDataFilter

func NewLogDataFilter(pb *pb.LogDataFilter) *LogDataFilter

NewLogDataFilter creates a new *LogDataFilter.

func NewLogDataFilterFromEntity

func NewLogDataFilterFromEntity(entity *me.LogDataFilter) *LogDataFilter

NewLogDataFilterFromEntity creates a new *LogDataFilter from entity.

func NewLogDataFilterFromPb deprecated

func NewLogDataFilterFromPb(pb *pb.LogDataFilter) *LogDataFilter

NewLogDataFilterFromPb creates a new *LogDataFilter from protobuf.

Deprecated: This struct is converted for decorator Use NewLogDataFilter instead.

func (*LogDataFilter) String

func (s *LogDataFilter) String() string

String returns a string representation of the LogDataFilter.

func (*LogDataFilter) ToEntity

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

ToEntity returns a entity representation of the LogDataFilter.

func (*LogDataFilter) ToPb

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

ToPb returns a protobuf representation of the LogDataFilter.

type LogDatas

type LogDatas []*LogData

func NewLogDataFromEntities

func NewLogDataFromEntities(entities []me.LogData) LogDatas

NewLogDatasFromEntities creates a new []*LogData from entities.

func (LogDatas) ToPbs

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

ToPbs returns a protobuf representation of the LogDatas.

Jump to

Keyboard shortcuts

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