Sunshine master
Self-hosted game stream host for Moonlight.
config::sunshine_t Struct Reference

Top-level Sunshine configuration and credential state. More...

#include <src/config.h>

Collaboration diagram for config::sunshine_t:
[legend]

Classes

struct  cmd_t
 Command-line options parsed before configuration loading. More...
 

Public Attributes

std::string address_family
 Address family requested for listening sockets.
 
std::string bind_address
 Local address Sunshine should bind to.
 
struct config::sunshine_t::cmd_t cmd
 Command line used to launch the application.
 
std::string config_file
 Path to the active Sunshine configuration file.
 
std::string credentials_file
 Path to the stored pairing credentials file.
 
std::vector< std::string > csrf_allowed_origins
 Additional origins allowed by CSRF validation.
 
std::bitset< flag::FLAG_SIZEflags
 Runtime flags parsed from command-line options.
 
std::string locale
 Locale selected for Sunshine UI and log messages.
 
std::string log_file
 Path to the configured log file.
 
int min_log_level
 Minimum severity level written to the configured log sink.
 
bool notify_pre_releases
 Notify users about pre-release updates.
 
std::string password
 Password hash or secret for the local Web UI account.
 
std::uint16_t port
 TCP port used by Sunshine services.
 
std::vector< prep_cmd_tprep_cmds
 Preparation commands executed around application launch.
 
std::string salt
 Salt used when hashing the Web UI password.
 
bool system_tray
 Enable the system tray integration.
 
std::string username
 Username for the local Web UI account.
 

Detailed Description

Top-level Sunshine configuration and credential state.


The documentation for this struct was generated from the following file: