server

package
v0.0.0-...-aa9966e Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	Ctx context.Context
	Rds *redis.Client
}

Env contains environment the server is running in, including db connection.

func InitServer

func InitServer() (*Env, error)

InitServer initializes server components, including environment variables.

Jump to

Keyboard shortcuts

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