server

package
v0.0.0-...-cc7dcbf Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDSN

func NewDSN(ip string) string

Types

type Server

type Server struct {
	Address string
	Port    uint
	DB      *gorm.DB
	*gin.Engine
}

func NewServer

func NewServer(address string, port uint, dsn string) *Server

func (*Server) Listen

func (s *Server) Listen() error

Jump to

Keyboard shortcuts

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