-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbima.go
More file actions
47 lines (37 loc) · 791 Bytes
/
bima.go
File metadata and controls
47 lines (37 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package bima
import (
"github.com/KejawenLab/bima/v4/handlers"
"github.com/KejawenLab/bima/v4/messengers"
"github.com/KejawenLab/bima/v4/models"
"github.com/KejawenLab/bima/v4/paginations"
"github.com/KejawenLab/bima/v4/utils"
"github.com/olivere/elastic/v7"
"gorm.io/gorm"
)
const (
Version = "v4.0.2"
HighestPriority = 255
LowestPriority = -255
Application = "application"
Generator = "generator"
)
type (
Module struct {
Debug bool
Handler *handlers.Handler
Cache *utils.Cache
Paginator *paginations.Pagination
}
GormModel struct {
models.GormBase
}
Server struct {
Debug bool
}
)
func (s *Server) Consume(messenger *messengers.Messenger) {
}
func (s *Server) Sync(client *elastic.Client) {
}
func (s *Server) Migrate(db *gorm.DB) {
}