Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] Miner support MQTT protocol#357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
laodouya wants to merge16 commits intodevelop
base:develop
Choose a base branch
Loading
fromfeature/miner_mqtt

Conversation

@laodouya
Copy link
Member

No description provided.

@laodouyalaodouya changed the title[WIP] Feature/miner mqtt[WIP] Miner support MQTT protocolJun 21, 2019
BPCountint`yaml:"BPCount"`
}

typeMQTTBrokerInfostruct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
exported type MQTTBrokerInfo should have comment or be unexported

returnc.ai.addResponse(c.rt.getHeightFromTime(resp.GetRequestTimestamp()),resp)
}

func (c*Chain)GetPeerLeaderID() proto.NodeID {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
exported method Chain.GetPeerLeaderID should have comment or be unexported

"github.com/gogf/gf/g/container/gqueue"
)

typeMQTTAPIstring

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
exported type MQTTAPI should have comment or be unexported

typeMQTTAPIstring

const (
//Publish API

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
comment on exported const MQTTNewest should be of the form "MQTTNewest ..."

const (
//Publish API
MQTTNewestMQTTAPI="newest"
DSNListMQTTAPI="dsnlist"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
exported const DSNList should have comment (or a comment on this block) or be unexported

typeSubscribeEventstruct {
ClientID proto.NodeID
DatabaseID proto.DatabaseID
ApiNameMQTTAPI

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
struct field ApiName should be APIName

PayloadBrokerPayload
}

typeMQTTClientstruct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
exported type MQTTClient should have comment or be unexported

returndests
}

funcNewMQTTClient(config*conf.MQTTBrokerInfo,dbms*DBMS) (c*MQTTClient) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
exported function NewMQTTClient should have comment or be unexported

}
}

func (c*MQTTClient)PublishDSN(apiNameMQTTAPI,databaseID proto.DatabaseID,payloadBrokerPayload,requestClient proto.NodeID)error {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
exported method MQTTClient.PublishDSN should have comment or be unexported

returnnil
}

func (c*MQTTClient)Close() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[golint]reported byreviewdog 🐶
exported method MQTTClient.Close should have comment or be unexported

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@covenantdbcovenantdbcovenantdb left review comments

At least 2 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@laodouya@covenantdb

[8]ページ先頭

©2009-2025 Movatter.jp