amqpclt

package
v0.0.0-...-7de97a6 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actor

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

Actor implements an amqp Actor.

func NewActor

func NewActor(conn *amqp.Connection, queueName string) (*Actor, error)

func (*Actor) Consumer

func (a *Actor) Consumer(_ context.Context)

关注动作的消费

func (*Actor) FollowAdd

func (a *Actor) FollowAdd(msgs <-chan amqp.Delivery)

关系添加的消费方式。

func (*Actor) FollowDel

func (a *Actor) FollowDel(msgs <-chan amqp.Delivery)

关系删除的消费方式。

func (*Actor) Publish

func (a *Actor) Publish(_ context.Context, message string) error

关注动作的生产

Jump to

Keyboard shortcuts

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