bima

package module
v4.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 7 Imported by: 0

README

Bima Framework

This repository contain only the framework, you can refer to skeleton for implementation

Bima Framework utilize gRPC Gateway to make REST easier and added some features for productivity.

Features

Testing

go test -coverprofile /tmp/coverage ./... -v

Todo

  • Documentation

Documentation

Index

Constants

View Source
const (
	Version = "v4.0.2"

	HighestPriority = 255
	LowestPriority  = -255

	Application = "application"
	Generator   = "generator"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GormModel

type GormModel struct {
	models.GormBase
}

type Module

type Module struct {
	Debug     bool
	Handler   *handlers.Handler
	Cache     *utils.Cache
	Paginator *paginations.Pagination
}

type Server

type Server struct {
	Debug bool
}

func (*Server) Consume

func (s *Server) Consume(messenger *messengers.Messenger)

func (*Server) Migrate

func (s *Server) Migrate(db *gorm.DB)

func (*Server) Sync

func (s *Server) Sync(client *elastic.Client)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL