mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-10-31 16:32:12 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			566 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			566 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package apistruct
 | |
| 
 | |
| type GetConfigReq struct {
 | |
| 	ConfigName string `json:"configName"`
 | |
| }
 | |
| 
 | |
| type GetConfigListResp struct {
 | |
| 	Environment string   `json:"environment"`
 | |
| 	Version     string   `json:"version"`
 | |
| 	ConfigNames []string `json:"configNames"`
 | |
| }
 | |
| 
 | |
| type SetConfigReq struct {
 | |
| 	ConfigName string `json:"configName"`
 | |
| 	Data       string `json:"data"`
 | |
| }
 | |
| 
 | |
| type SetConfigsReq struct {
 | |
| 	Configs []SetConfigReq `json:"configs"`
 | |
| }
 | |
| 
 | |
| type SetEnableConfigManagerReq struct {
 | |
| 	Enable bool `json:"enable"`
 | |
| }
 | |
| 
 | |
| type GetEnableConfigManagerResp struct {
 | |
| 	Enable bool `json:"enable"`
 | |
| }
 |