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 NewLogDataFromEntity ¶
NewLogDataFromEntity creates a new *LogData from entity.
func NewLogDataFromPb
deprecated
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 ¶
NewLogDatasFromEntities creates a new []*LogData from entities.