Files
hyperpipe-backend/types.go
T
Shiny Nematoda 0ed4c9c048 Initial Commit
2022-04-13 21:06:34 +05:30

25 lines
395 B
Go

package main
import "strings"
func GetContext() Context {
return Context{
Client: Client{
Name: "WEB_REMIX",
Version: "1.20211213.00.00",
},
}
}
func GetTypeBrowse(t, id string) BrowseData {
return BrowseData{
Context: GetContext(),
MusicConfig: MusicConfig{
MusicConfig: PageType{
PageType: "MUSIC_PAGE_TYPE_" + strings.ToUpper(t),
},
},
BrowseId: id,
}
}