 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package grpc is in charge of detecting updates and applying them
Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ExposedConfigs = &forms.Form{ I18NBundle: lang.Bundle(), Groups: []*forms.Group{{ Label: "Update.Config.Title", Fields: []forms.Field{ &forms.FormField{ Name: "updateUrl", Type: forms.ParamString, Label: "Update.Config.Url.Label", Description: "Update.Config.Url.Description", Default: common.UpdateDefaultServerUrl, }, &forms.FormField{ Name: "publicKey", Type: forms.ParamTextarea, Label: "Update.Config.PublicKey.Label", Description: "Update.Config.PublicKey.Description", Default: common.UpdateDefaultPublicKey, }, &forms.FormField{ Name: "channel", Type: forms.ParamSelect, Label: "Update.Config.Channel.Label", Description: "Update.Config.Channel.Description", ChoicePresetList: []map[string]string{ {"stable": "Update.Config.Channel.ValueStable"}, {"dev": "Update.Config.Channel.ValueDev"}, }, Default: common.UpdateDefaultChannel, Mandatory: true, }, }, }}, }
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
    func (*Handler) ApplyUpdate ¶
func (h *Handler) ApplyUpdate(ctx context.Context, request *update.ApplyUpdateRequest, response *update.ApplyUpdateResponse) error
func (*Handler) UpdateRequired ¶
func (h *Handler) UpdateRequired(ctx context.Context, request *update.UpdateRequest, response *update.UpdateResponse) error
       Source Files
      ¶
      Source Files
      ¶
    
- configs.go
- handler.go
- plugins.go
 Click to show internal directories. 
   Click to hide internal directories.