server

package
v1.2.122 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package server назначение модуля - читать и отдавать конфигурационные настройки

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongodConfig added in v1.2.114

type MongodConfig struct {
	SessionPath string
	// contains filtered or unexported fields
}

func GetMongodConfig

func GetMongodConfig() *MongodConfig

GetMongodConfig функция для получения конфигураций для mongod

func (*MongodConfig) Init added in v1.2.114

func (mConfig *MongodConfig) Init(fStatic, fWeb, fSession *string) error

func (*MongodConfig) MongoDBName added in v1.2.114

func (mConfig *MongodConfig) MongoDBName() string

MongoDBName The Data Source DB has a common format, like e.g. PEAR DB uses it, but without type-prefix (optional parts marked by squared brackets):

[username[:password]@][protocol[(address)]]/dbname[?param1=value1&...&paramN=valueN]

Jump to

Keyboard shortcuts

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