Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
429 B · 19 lines
1234567891011121314151617181920package spxrpc
import ( "context"
placestream "stream.place/streamplace/pkg/placestream")
func (s *Server) handlePlaceStreamConfigGetEnv(ctx context.Context) (*placestream.ConfigGetEnv_Output, error) { out := placestream.ConfigGetEnv_Output{} if s.cli.PlaybackWorkerURL != "" { out.PlaybackWorkerUrl = &s.cli.PlaybackWorkerURL } if s.cli.GamesAPIURL != "" { t := true out.GamesEnabled = &t } return &out, nil}