utils

package
v0.0.0-...-61c914d Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEvent

func GetEvent(msg proto.Message, events []sdk.Event) (e sdk.Event, found bool)

GetEvent searches through the sdk.Events and attempts to return the sdk.Event whose type matches the proto.MessageName of the passed msg.

func GogoPageReqToPulsarPageReq

func GogoPageReqToPulsarPageReq(from *query.PageRequest) (*queryv1beta1.PageRequest, error)

func GogoToPulsarSlow

func GogoToPulsarSlow(from gogoproto.Message, to proto.Message) error

func MatchEvent

func MatchEvent(expected proto.Message, emitted sdk.Event) error

MatchEvent matches the values in a proto message to a sdk.Event.

func PulsarPageResToGogoPageRes

func PulsarPageResToGogoPageRes(from *queryv1beta1.PageResponse) (*query.PageResponse, error)

func PulsarToGogoSlow

func PulsarToGogoSlow(from proto.Message, to gogoproto.Message) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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