dto

package
v0.0.0-...-2572d14 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 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 FetchNftTableDTO

type FetchNftTableDTO struct {
	*proto.NftTableResp
}

func (*FetchNftTableDTO) InitFromModel

func (t *FetchNftTableDTO) InitFromModel(md *models.FetchNftTableModel)

func (*FetchNftTableDTO) InitFromProto

func (t *FetchNftTableDTO) InitFromProto(msg *proto.NftTableResp)

func (*FetchNftTableDTO) ToModel

func (*FetchNftTableDTO) ToProto

func (t *FetchNftTableDTO) ToProto() *proto.NftTableResp

type FetchTraceDTO

type FetchTraceDTO struct {
	*proto.FetchTrace
}

func (*FetchTraceDTO) InitFromModel

func (t *FetchTraceDTO) InitFromModel(md *models.FetchTraceModel)

func (*FetchTraceDTO) InitFromProto

func (t *FetchTraceDTO) InitFromProto(msg *proto.FetchTrace)

func (*FetchTraceDTO) ToModel

func (t *FetchTraceDTO) ToModel() *models.FetchTraceModel

func (*FetchTraceDTO) ToProto

func (t *FetchTraceDTO) ToProto() *proto.FetchTrace

type NftTableDTO

type NftTableDTO struct {
	*proto.NftTable
}

func (*NftTableDTO) InitFromModel

func (t *NftTableDTO) InitFromModel(md *models.NftTableModel)

func (*NftTableDTO) InitFromProto

func (t *NftTableDTO) InitFromProto(msg *proto.NftTable)

func (*NftTableDTO) ToModel

func (t *NftTableDTO) ToModel() *models.NftTableModel

func (*NftTableDTO) ToProto

func (t *NftTableDTO) ToProto() *proto.NftTable

type TraceDTO

type TraceDTO struct {
	*proto.Trace
	Md metadata.MD
}

func (*TraceDTO) InitFromModel

func (t *TraceDTO) InitFromModel(md *models.TraceModel)

func (*TraceDTO) InitFromProto

func (t *TraceDTO) InitFromProto(ctx context.Context, msg *proto.Trace)

func (*TraceDTO) ToModel

func (t *TraceDTO) ToModel() *models.TraceModel

func (*TraceDTO) ToProto

func (t *TraceDTO) ToProto() *proto.Trace

type TraceScopeDTO

type TraceScopeDTO struct {
	*proto.TraceScope
}

func (*TraceScopeDTO) InitFromModel

func (ft *TraceScopeDTO) InitFromModel(md *models.TraceScopeModel)

func (*TraceScopeDTO) InitFromProto

func (ft *TraceScopeDTO) InitFromProto(msg *proto.TraceScope)

func (*TraceScopeDTO) ToModel

func (ft *TraceScopeDTO) ToModel() *models.TraceScopeModel

func (*TraceScopeDTO) ToProto

func (ft *TraceScopeDTO) ToProto() *proto.TraceScope

Jump to

Keyboard shortcuts

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