scanme.nmap.org 是要扫描的域名或 IP 地址。 package main import ( "fmt" "net" "sort" ) func main() { ports := make(chan int, 100) results :=[......]继续阅读

2021年11月17日 0条评论 2304点热度 0人点赞 痴者工良 阅读全文

scanme.nmap.org is the domain or IP address to be scanned. package main import ( "fmt" "net" "sort" ) func main() {[......]继续阅读

2021年11月17日 0条评论 72点热度 0人点赞 痴者工良 阅读全文

reflect.Type.Elem() 可以返回元素的类型,例如指针类型,返回不带指针的类型。 reflect.Value.Elem() 是获取指向值的引用。 type name struct { } func (n name) Print(str string) { } func main([......]继续阅读

2021年11月16日 0条评论 2584点热度 0人点赞 痴者工良 阅读全文

reflect.Type.Elem() can return the type of the element, for example, for pointer types, it returns the type without the pointer. reflect.Value.Elem()[......] 继续阅读

2021年11月16日 0条评论 54点热度 0人点赞 痴者工良 阅读全文

In the context of Linux, here's how to invoke a command-line program in Go, with the example code as follows: package main import ( "log&quo[......]继续阅读

2021年10月5日 0条评论 3059点热度 2人点赞 痴者工良 阅读全文

以 Linux 为例,在 Go 中调用一个命令行程序,其代码示例如下: package main import ( "log" "os" "os/exec" ) func main() { cmd := exec.Command("top") cmd.S[......]继续阅读

2021年10月5日 0条评论 3051点热度 2人点赞 痴者工良 阅读全文

Getting Started Jaeger Deploying Jaeger Understanding Jaeger Client Go through an Example Understanding trace and span Tracer Configuration Sampler C[......] 继续阅读

2021年3月30日 0条评论 86点热度 0人点赞 痴者工良 阅读全文

从何说起 Jaeger 部署 Jaeger 从示例了解 Jaeger Client Go 了解 trace、span tracer 配置 Sampler 配置 Reporter 配置 分布式系统与span 怎么调、怎么传 HTTP,跨进程追踪 客户端 Web 服务端 Tag 、 Log 和 R[......] 继续阅读

2021年3月30日 0条评论 3984点热度 0人点赞 痴者工良 阅读全文

Go GRPC Introduction Go GRPC Introduction 1. Installation Packages 2. gRPC Server 3. gRPC Client 4. Compile and Run 5. Others GRPC Protobuf Buff[......] 继续阅读

2021年3月28日 0条评论 88点热度 0人点赞 痴者工良 阅读全文

Go GRPC 入门 Go GRPC 入门 1,安装包 2,gRPC 服务端 3,gRPC 客户端 4,编译运行 5,其它 GRPC Protobuf buffer 字段类型 字段规则 Protobuf gRPC 四种服务方法 编译 proto 1,安装包 grpc gola[......] 继续阅读

2021年3月28日 0条评论 3167点热度 0人点赞 痴者工良 阅读全文

In Go language, when we need to import a package, we can use import: import ( "io" ) For standard libraries such as bufio, time, net, etc.[......] 继续阅读

2021年3月27日 0条评论 4619点热度 2人点赞 痴者工良 阅读全文

在 Go 语言中,当我们需要引入一个包时,可以使用 import: import ( "io" ) 对于标准库,如 bufio、time、net 等,只需要一个名字即可引入,就像 C 语言的 #include 。 如果我们要引入自己编写的包或第三方源码,则会有些细节需要留[......] 继续阅读

2021年3月27日 0条评论 4579点热度 2人点赞 痴者工良 阅读全文
12