Installation interface
After starting the program, the installation interface will be automatically opened in the browser.
Because the program will useRedis
andMySQL
, so please enter before installingRedis
、MySQL
For configuration information, click the initialization button to initialize the used data table and default data. The initialization log information can be seen on the right.
As above, after successful initialization, restart the program and the login interface will be automatically opened in the browser.
Login interface
Enter default account numberadmin
, passwordadmin
You can log in successfully.
Instrument panel interface
displayProject information
、Memory information
、Hard disk information
、CPU Information
Wait.
Configuration information – > alarm mailbox
Here you can configure the sender and recipient of the system alarm when the system occursPanic
Email notification when.
Configuration information – > error code
Display the error code defined in the system.
Code generator – > generate data table curd
Single or multiple data tables can be selected on the left for code generation.
Code generator – > generate controller method
You can set the to be generated on the lefthandler
name.
Authorized caller – > caller
Set who can call my interface and which interfaces can be authorized to call me.
Authorized caller – > instructions
System administrator – > administrator
Set who can log in to the background and control itDisable
、reset password
、Menu authorization
、Offline
、delete
And so on.
System administrator – > menu management
Set the menu of the background sidebar.
Query assistant – > query cache
queryRedis
Cache content and validity period, and empty the cache at the same time.
Query assistant – > query data
queryMySQL
Data, support inputSQL
Statement execution and analysis.
Utility Toolbox – > service upgrade
Corresponding upgrade instructions are provided for different versions.
Utility Toolbox – > hashids
Pass in programid
All scenes are transmitted using ciphertext.
Utility Toolbox – > call log
Show the latest 100 call logs.
Utility Toolbox – > interface document
Utility Toolbox – > graphql
Utility Toolbox – > interface indicators
Can be based on indicatorsGrafana
Generate a similar indicator chart.
Project address
Source address
https://github.com/xinliangno…
//Run directly after downloading
$ git clone https://github.com/xinliangnote/go-gin-api
$ cd go-gin-api
$ go run main. Go - env fat // - env fat denotes the test environment
Online documents
https://www.yuque.com/xinlian…
Nothing, just play~
The article is so long. Seeing this old iron, it must be true love powder. I’ll report to you that a new knowledge planet (1 day old) has been built. Cough First of all, it’s a trial operation stage. It’s hard to say whether it can be completed, eh It’s really hard to say
There I will share some things I think I can (maybe from other places), such as career development, technology, creative discovery, others Some ordinary people will be invited to work, and so on.
I won’t promise to bring you much harvest there, because maybe you are better than me. By the way, I’m a vegetable chicken, no doubt.
In fact, there is nothing but play~
I don’t know who has paid for me.