mirror of
https://github.com/pushbits/server.git
synced 2025-08-06 10:08:55 +02:00
Add misspell, gocritic, and revive
This commit is contained in:
parent
5e640800fe
commit
2c20e42a21
30 changed files with 79 additions and 43 deletions
|
@ -1,3 +1,4 @@
|
|||
// Package api provides definitions and functionality related to the API.
|
||||
package api
|
||||
|
||||
import (
|
||||
|
@ -27,7 +28,7 @@ type Database interface {
|
|||
|
||||
// The Dispatcher interface for relaying notifications.
|
||||
type Dispatcher interface {
|
||||
RegisterApplication(id uint, name, token, user string) (string, error)
|
||||
RegisterApplication(id uint, name, user string) (string, error)
|
||||
DeregisterApplication(a *model.Application, u *model.User) error
|
||||
UpdateApplication(a *model.Application, behavior *configuration.RepairBehavior) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue