Documentation ¶
Index ¶
- type Server
- func (*Server) CreateSetting(ctx context.Context, req *settingspb.CreateSettingRequest) (*settingspb.CreateSettingResponse, error)
- func (*Server) DeleteSetting(ctx context.Context, req *settingspb.DeleteSettingRequest) (*settingspb.DeleteSettingResponse, error)
- func (*Server) ListSetting(ctx context.Context, req *settingspb.ListSettingRequest) (*settingspb.ListSettingResponse, error)
- func (*Server) ShowSetting(ctx context.Context, req *settingspb.ShowSettingRequest) (*settingspb.ShowSettingResponse, error)
- func (*Server) UpdateSetting(ctx context.Context, req *settingspb.UpdateSettingRequest) (*settingspb.UpdateSettingResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct{}
Server main server
func (*Server) CreateSetting ¶
func (*Server) CreateSetting(ctx context.Context, req *settingspb.CreateSettingRequest) (*settingspb.CreateSettingResponse, error)
CreateSetting create a single setting
func (*Server) DeleteSetting ¶
func (*Server) DeleteSetting(ctx context.Context, req *settingspb.DeleteSettingRequest) (*settingspb.DeleteSettingResponse, error)
DeleteSetting delete a single setting
func (*Server) ListSetting ¶
func (*Server) ListSetting(ctx context.Context, req *settingspb.ListSettingRequest) (*settingspb.ListSettingResponse, error)
ListSetting - get list of settings
func (*Server) ShowSetting ¶
func (*Server) ShowSetting(ctx context.Context, req *settingspb.ShowSettingRequest) (*settingspb.ShowSettingResponse, error)
ShowSetting - show a single setting
func (*Server) UpdateSetting ¶
func (*Server) UpdateSetting(ctx context.Context, req *settingspb.UpdateSettingRequest) (*settingspb.UpdateSettingResponse, error)
UpdateSetting update an existing setting
Click to show internal directories.
Click to hide internal directories.