gomsgiface

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IGomsg

type IGomsg interface {
	To() *nats.Msg

	Check() error
	SetData(model interface{}) error
	DecodeData(out interface{}) error
	Parse2PageResult()
	Parse2Result()
	Execute() *gomsg.GonatsMsg

	Decode() error
	Encode() *gomsg.GonatsMsg
}

type IGomsgCheck

type IGomsgCheck interface {
	Check(msg *gomsg.GonatsMsg) error
}

type IGomsgRunner

type IGomsgRunner interface {
	Execute(msg *gomsg.GonatsMsg) *gomsg.GonatsMsg
	IGomsgCheck
}

Jump to

Keyboard shortcuts

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