最近更新的页面
函数
简介 函数是一段可以重复执行的代码。它可以接受不同的参数,完成对应的操作。下面的例子就是一个函数。 int plus_one(int n) { return n + 1; } 上面的代码声明...
Overview
What is NATS? NATS is a connective technology that powers modern distributed systems. A connectiv...
变量说明符
C 语言允许声明变量的时候,加上一些特定的说明符(specifier),为编译器提供变量行为的额外信息。它的主要作用是帮助编译器优化代码,有时会对程序行为产生影响。 const const说明符...
Securing NATS
The NATS server provides several forms of security: Connections can be encrypted with TLS Client ...
WebSocket
Supported since NATS Server version 2.2 WebSocket support can be enabled in the server and may be...
OCSP Stapling
Supported since NATS Server version 2.3 OCSP Stapling is honored by default for certificates that...
Configuration
The gateway configuration block is similar to a cluster block: gateway { name: "A" list...
Kubernetes Controller
The JetStream controllers allow you to manage NATS JetStream Streams and Consumers via K8S CRDs. ...
GitHub Actions
We have a pack of GitHub Actions that let you manage an already running JetStream Server, useful ...
Terraform
Terraform is a Cloud configuration tool from Hashicorp. We maintain a Provider for Terraform call...
Configuration Management
In many cases managing the configuration in your application code is the best model, many teams t...
Python and NGS Running in Docker
Start a lightweight Docker container: docker run --entrypoint /bin/bash -it python:3.8-slim-buste...
Advanced Connect and Custom Dialer in Go
The Go NATS client features a CustomDialer option which allows you to customize the connection lo...
Connectivity
NATS supports several kinds of connectivity directly to the NATS servers. Plain NATS connections ...
NATS 2.0
NATS 2.0 was the largest feature release since the original code base for the server was released...
数组
简介 数组是一组相同类型的值,按照顺序储存在一起。数组通过变量名后加方括号表示,方括号里面是数组的成员数量。 int scores[100]; 上面示例声明了一个数组 scores,里面包含10...
assert.h
assert() assert.h头文件定义了宏 assert(),用于在运行时确保程序符合指定条件,如果不符合,就报错终止运行。这个宏常常被称为“断言”。 assert(PI > 3); 上面...
NATS Protocols
This section of the documentation contains the reference documentation for the NATS network proto...
NodeList 接口,HTMLCollection 接口
节点都是单个对象,有时需要一种数据结构,能够容纳多个节点。DOM 提供两种节点集合,用于容纳多个节点: NodeList和 HTMLCollection。 这两种集合都属于接口规范。许多 DOM...
变量
变量(variable)可以理解成一块内存区域的名字。通过变量名,可以引用这块内存区域,获取里面存储的值。由于值可能发生变化,所以称为变量,否则就是常量了。 变量名 变量名在 C 语言里面属于标...