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) FavoriteActionAdd

func (a *Actor) FavoriteActionAdd(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