Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Build(opts ...connect.HandlerOption) (string, http.Handler)
- func (h *Handler) GetSettings(ctx context.Context, req *connect.Request[settings.GetSettingsRequest]) (*connect.Response[settings.GetSettingsResponse], error)
- func (h *Handler) ServiceName() string
- func (h *Handler) UpdateSettings(ctx context.Context, req *connect.Request[settings.UpdateSettingsRequest]) (*connect.Response[settings.UpdateSettingsResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(p newParams) *Handler
New returns an implementation of the proto Users.Users interface (service).
func (*Handler) GetSettings ¶
func (h *Handler) GetSettings(ctx context.Context, req *connect.Request[settings.GetSettingsRequest]) (*connect.Response[settings.GetSettingsResponse], error)
func (*Handler) ServiceName ¶
func (*Handler) UpdateSettings ¶
func (h *Handler) UpdateSettings(ctx context.Context, req *connect.Request[settings.UpdateSettingsRequest]) (*connect.Response[settings.UpdateSettingsResponse], error)
Click to show internal directories.
Click to hide internal directories.