server

package
v0.0.0-...-3afac47 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Debug         bool
	BucketName    string
	AppEnv        string
	DB            *gorm.DB
	Logger        *zap.Logger
	ImageUrl      image_url.URL
	RedisClient   *redis.Client
	Conf          *config.Config
	Service       service.Service
	Pub           pubsub.PubQueue
	NosClient     *nosclient.NosClient
	ImageUploader image_uploader.Uploader
	FileUploader  go_file_uploader.Uploader
	BaseFs        afero.Fs
}

func SetupServer

func SetupServer(configPath string) *Server

Jump to

Keyboard shortcuts

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