more golint cleanup

This commit is contained in:
Roland Osborne 2022-07-29 14:57:25 -07:00
parent 57d36f2545
commit 200ba4b9f8
10 changed files with 14 additions and 4 deletions

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//SetChannelCard adds contact to channel membership
func SetChannelCard(w http.ResponseWriter, r *http.Request) {
account, code, err := ParamAgentToken(r, false)

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//SetChannelGroup adds sharing group to channel
func SetChannelGroup(w http.ResponseWriter, r *http.Request) {
account, code, err := BearerAppToken(r, false)

View File

@ -6,6 +6,7 @@ import (
"net/http"
)
//SetChannelRevision notifies contact of updated channel revision
func SetChannelRevision(w http.ResponseWriter, r *http.Request) {
card, code, err := ParamContactToken(r, false)
@ -28,6 +29,7 @@ func SetChannelRevision(w http.ResponseWriter, r *http.Request) {
WriteResponse(w, nil)
}
//NotifyChannelRevision stores updated channel revision
func NotifyChannelRevision(card *store.Card, revision int64) error {
act := &card.Account

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//SetChannelSubject updates channel subject for account holder
func SetChannelSubject(w http.ResponseWriter, r *http.Request) {
account, code, err := ParamAgentToken(r, false)

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//SetChannelTopicConfirmed sets confirmation status of topic
func SetChannelTopicConfirmed(w http.ResponseWriter, r *http.Request) {
// scan parameters

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//SetChannelTopicSubject sets subject of channel topic created by invoker
func SetChannelTopicSubject(w http.ResponseWriter, r *http.Request) {
// scan parameters

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//SetChannelTopicTagSubject sets subject of tag created by invoker
func SetChannelTopicTagSubject(w http.ResponseWriter, r *http.Request) {
// scan parameters

View File

@ -8,6 +8,7 @@ import (
"time"
)
//SetCloseMessage delivers disconnection message to contact
func SetCloseMessage(w http.ResponseWriter, r *http.Request) {
var message DataMessage

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//SetGroupSubject sets subject of group under account
func SetGroupSubject(w http.ResponseWriter, r *http.Request) {
account, code, err := ParamAgentToken(r, true)