Golang uses RabbitMQ

This article introduces the practice of using rabbitMQ in go language. This example adopts the Direct message model in the subscription model (Fanout, Direct, Topic) in RabbitMQ In RabbitMQ, both the producer and the consumer actually belong to the Client. A Client sends a message, and which Clients can receive the message, the core lies in the relationship between Exchange, RoutingKey, and Queue For mq usage for consumers and producers, the main steps are as follows:...

August 19, 2022

[Software catalogue] Update WIN version on August 18, 2022

The most complete software tool resource library on the whole network Directory Description: 1. Large software tools. Second, small software tools. 3. Various mobile APP tools. Four, all kinds of template materials. Five, all kinds of application plug-ins. Part 1: Large Software Tools software navigation ① Required for installation ②Computer system ③Office software ④Image processing ⑤Media tools ⑥AutoCAD ⑦3D design ⑧Mechanical design ⑨Architectural Design ⑩ Web Design ⑪Development programming ⑫Data analysis ⑬ Simulation ⑭Electronic circuit ⑮Industry software software catalog...

August 18, 2022

Lilac Favorites | Instructions for using the genuine software platform of Xidian

2022 Genuine software platform usage notice Microsoft series Foxit Matlab campus software ... The new version of the genuine platform of Xidian University is now online. The details of the genuine software currently available for download are as follows: Microsoft series products : windows8-windows11, office2013-2021, mac for office2011-2021, visio2013-2021. Foxit PDF Editor : Windows, Mac version. Matlab : R2021a, R2021b, R2022a . Campus software : Navicat database management tool, NoteFirst document management software....

August 18, 2022

swoole websocket has a chance to disconnect when heartbeat detection is enabled

Click "Technology Love" above to follow us problem background Use swoole4.8 version as websocket server nginx proxy swoole service Problem recurrence Enable websocket service heartbeat_check_interval is set to 60 heartbeat_idle_time is not set Digression: heartbeat_check_interval indicates how often to rotate, in seconds, if the connection is within 120 seconds (the default is twice the interval when heartbeat_idle_time is not set), no data is sent to the server, the connection will be forcibly closed....

August 18, 2022

Detailed Explanation of Microcontroller Expansion Technology

The internal memory and I/O port resources of the microcontroller are limited, and external expansion is required in most cases . 1. Extension methods and content Second, the bus introduction The typical structure of the parallel expansion of the microcontroller is the bus structure. The expansion components are connected with the single-chip microcomputer through the bus, which is equivalent to that each component in the system hangs on the bus, and uses the bus to communicate with the CPU in time-sharing....

August 17, 2022

FFmpeg initially supports oneVPL

Produced | OSC Open Source Community (ID: oschina2013) Intel has contributed support for its own oneVPL open source video processing library upstream to the FFmpeg project. FFmpeg is a widely used cross-platform multimedia library, and Intel engineers have contributed Vulkan filters , VA-API AV1 decoding , OpenVINO integration and many other features to it over the years - mainly to better support their own hardware products. The latest contribution is to add support for oneVPL to FFmpeg....

August 17, 2022

How to write Uniapp WeChat applet login?

This is the first time I used Uniapp to write a WeChat applet. Since Uniapp is not in the WeChat ecosystem, the way to obtain user opnid is not so simple. In the development of WeChat applet, it is more common to obtain the user's avatar and nickname . Uniapp encapsulates an API for us to obtain user information - uni.getUserInfo(OBJECT) If this method is called, the program will prompt the application for authorization....

August 17, 2022

uniapp----018--Basic introduction and use of component library in uni

The basic introduction and use of the uni-ui component library in the twelfth lesson 1. Basic introduction and use of uni-ui component library Log in to the DCloud user account; HBuildX also needs to log in; (1) Import components (2) Registering components ( 3 ) Use components Shortcut key: Shift+tab , Alignment indent: This component conforms to the easycom specification. Since HBuilderX 2.5.5 , you only need to import this component into the project and use it directly in the page template , without importing and registering components in the page ....

August 17, 2022

It is 20 times easier to use than Postman, and it is more popular visually!

1. The era of API explosion 1. Background introduction 2. Problem elicited 3. Solutions 2. Core functions 1. API Documentation 2. API debugging 3. Mock data 4. Automated testing 5. Online debugging 3. Other functions 1. Code generation 2. Data import/export 4. Surprise function V. Summary 1. The era of API explosion With the recent introduction of various concepts such as mobilization, Internet of Things, digital transformation, and microservices in the industry, the number of corresponding APIs has shown an explosive growth....

August 16, 2022

TypeScript releases 4.8 release candidate with major updates

The next version of TypeScript, 4.8, is currently in the release candidate stage (RC release). "Between now and the stable release of TypeScript 4.8, we expect no further changes beyond critical bug fixes," said TypeScript senior program manager Daniel Rosenwasser in a blog post. This phase will be short, according to the iteration plan: a "final test build" will be released later this week, and the final version will be officially released around August 23rd....

August 16, 2022