Go Daily library twirp
brief introduction
twirp Is a RPC framework based on Google Protobuf.Trp automatically produces server and client code by defining the service in the.proto file.Let's focus more on business logic.Huh?Isn't this gRPC?Unlike gRPC, which implements its own set of HTTP servers and network transport layers, twirp uses the standard library net/http.I ...
Posted by om.bitsian on Wed, 10 Jun 2020 19:04:20 +0200
Ape metamorphosis 15 - Spring AOP just looks good
Having read the previous metamorphosis series, I'm sure you have an understanding of mybatis in its application.But it's not enough to complete your metamorphosis. Considering your basics, let's go back to spring and talk about AOP.
Ape metamorphosis is also an original series of articles to help yo ...
Posted by Roja on Wed, 10 Jun 2020 03:13:17 +0200
Changes of JDK8 in generic type derivation
This article comes from: PerfMa technology community
Perfma official website
summary
JDK8 upgrade, most of the problems may be encountered in the compile time, but sometimes it is more painful, there is no problem in the compile time, but there is a problem in the run time, such as today's topic, so when you upgrade, you still need to test mo ...
Posted by Random on Tue, 09 Jun 2020 09:26:58 +0200
Using Swagger to test the interface, how do I carry Token in the request header?
Questions from a small partner on WeChat:
When he saw this, Songge suddenly thought that I had written Spring Boot+Swagger before:
SpringBoot Integration Swagger2
Uses of OAuth2 + Jwt have also been written:
Want to have fun with OAuth2 and JWT?See Songgo's performance
But they haven't been written together yet, so little buddies have ques ...
Posted by raister on Tue, 09 Jun 2020 02:49:02 +0200
python programming from introduction to practice
1. Computer core foundation
1.1 what is language? What is programming language? Why programming languages?
Language is actually the medium of communication between people, such as English, Chinese, Russian, etc.
Programming language is the medium of communication between people and computers,
The purp ...
Posted by earunder on Sun, 07 Jun 2020 12:41:44 +0200
[First line of code--Android] A streamlined version of Kotlin's introductory tutorial
Google announced Kotlin as the official Android and development language at the I/O conference in 2017, and Android Studio also provides full support for Kotlin.
How do I run kotlin's code?adopt https://try.kotlinlang.org Or IDEA and other IDEs that support Kotlin write directly on top of it, and then run away. Here's the main record of how to ...
Posted by gazolinia on Sat, 06 Jun 2020 19:57:34 +0200
A small salary management system with JavaFX+SpringBoot + verification code function
1 General
1.1 INTRODUCTION
A simple small salary management system, JavaFX + front-end Spring Boot, has few functions. It focuses on the UI and some logic of the front-end. The back-end is very simple.
Main functions:
User registration / login
Verification code retrieve password
Users modify information, modify Avatar
Display salary in bar cha ...
Posted by poknam on Sat, 06 Jun 2020 12:10:57 +0200
with context management protocol
Recently, I want to simulate the implementation of a framework involving with. Let's study it!
Here is a common way to write
Automatically release file handle after running
with open("./abc.txt","r") as f:
data = f.read()
#Automatically release resources after running
with tf.Session() as sess:
result = sess.run([product])
prin ...
Posted by talor123 on Fri, 05 Jun 2020 10:40:52 +0200
Beauty of mybatis source code: 2.2. Convert DOM corresponding to mybatis global configuration file to XNODE object
Convert DOM corresponding to mybatis global configuration file to XNODE object
In the above, we have completed the construction of XmlConfigBuilder object and prepared the basic environment for parsing XML files.
So the next step is to call the parse() method exposed by XmlConfigBuilder to complete the parsing of mybatis configuration file.
pub ...
Posted by lupus2k5 on Fri, 05 Jun 2020 08:15:43 +0200
Java multithreading: a new understanding of threads
preface
For Java multithreading, in fact, it has been some scattered learning. Multithreading is often asked in the interview. I really want to summarize this certification this time, and I really don't want to fall in this field. According to "Java high concurrent programming details" a boo ...
Posted by coolbeansdude51 on Thu, 04 Jun 2020 15:32:41 +0200