GithubHelp home page GithubHelp logo

thingspanel / thingspanel-go Goto Github PK

View Code? Open in Web Editor NEW
361.0 361.0 119.0 14.68 MB

The plug-in IoT platform developed by Go language has high performance, low entry and easy expansion. Support MQTT, Modbus multi protocol, multi type device access and visualization, automation, alarm, rule engine and other functions.

Home Page: http://thingspanel.io/

License: GNU Affero General Public License v3.0

Go 99.95% Dockerfile 0.03% Shell 0.02%
go

thingspanel-go's People

Contributors

deepsource-io[bot] avatar doubleloong avatar fengerjinyi avatar hezhuozhuo avatar marktreyvon avatar november-12 avatar orzice avatar tttturtle-russ avatar universe-hsh avatar yangb90 avatar zjhong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

thingspanel-go's Issues

这些地方为什么不用单例呢?

像这些地方:

var CustomerService services.CustomerService

var CustomerService services.CustomerService

var CustomerService services.CustomerService

提供一种重构思路:

var Customer = new(customerService)

type customerService struct {}

func (c *customerService) Paginate(name string, offset int, pageSize int) ([]models.Customer, int64) {
}

....

调用:

service.Customer.Paginate(your params...)

token不能为空

uTools_1678174665732

使用mqttx连接后发送消息后台显示
前台一直显示设备离线

sql错误

2023/03/07 13:57:16.467 [I] [psql.go:28] F:/Desktop/ThingsPanel-Go/services/tp_dict_service.go:31 ERROR: syntax error at or near "and" (SQLSTATE 42601)
[23.694ms] [rows:0] SELECT count(*) FROM "tp_dict" WHERE and dict_code = 'chart_type'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.