sdamqp

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package sdamqp AMQP协议客户端

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialConn

func DialConn(addr Address) (*amqp.Connection, error)

Types

type Address

type Address struct {
	Url string `json:"url" toml:"url"`
}

type ChannelConn

type ChannelConn struct {
	Chan *amqp.Channel
	Conn *amqp.Connection
}

func DialChan

func DialChan(addr Address) (*ChannelConn, error)

func (*ChannelConn) Close

func (cc *ChannelConn) Close() error

Jump to

Keyboard shortcuts

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