config

package
v0.0.0-...-aa7bf5c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIni

func GetIni(section, key, defaultValue string) string

Types

type Config

type Config struct {
	SfuConfig  sfu.Config
	ServerName uuid.UUID
	Jwt        *JwtConfig
}

func New

func New(filename string, filetype string, filepath string, servername uuid.UUID) (*Config, error)

type JwtConfig

type JwtConfig struct {
	Secret []byte
}

func NewJwtConfig

func NewJwtConfig() *JwtConfig

Jump to

Keyboard shortcuts

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