server

package
v0.0.0-...-ef30428 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerAdressGRPC = ":6000"
	ServerAdressHTTP = ":5000"
	SwaggerDir       = "./swagger"

	GRPCTimeoutConnection = 5 * time.Second
)

Variables

This section is empty.

Functions

func New

func New(s Services) (*server, error)

Types

type Services

type Services struct {
	User   api.UserServer
	Forum  api.ForumServer
	Thread api.ThreadServer
	Post   api.PostServer
	Admin  api.AdminServer
}

Jump to

Keyboard shortcuts

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