service

package
v0.0.0-...-5c35791 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Port      int
	Server    *gin.Engine
	Config    *config.DbConfig
	SecretKey *config.JWTConfig
}

func GetService

func GetService(router *routers.Routers) *Service

func NewService

func NewService(info *Service) *Service

func (Service) Run

func (s Service) Run()

Jump to

Keyboard shortcuts

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