Documentation ¶
Overview ¶
Package http contains service implementations over HTTP.
Index ¶
- func NewEvents(httpClient *http.Client, scheme, host string) events.Service
- type Reactions
- func (Reactions) Get(ctx context.Context, uri string, id string) ([]reactions.Reaction, error)
- func (Reactions) List(ctx context.Context, uri string) (map[string][]reactions.Reaction, error)
- func (Reactions) Toggle(ctx context.Context, uri string, id string, tr reactions.ToggleRequest) ([]reactions.Reaction, error)
- type Users
- func (Users) Edit(_ context.Context, er users.EditRequest) (users.User, error)
- func (Users) Get(ctx context.Context, user users.UserSpec) (users.User, error)
- func (Users) GetAuthenticated(ctx context.Context) (users.User, error)
- func (Users) GetAuthenticatedSpec(ctx context.Context) (users.UserSpec, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reactions ¶
type Reactions struct{}
Reactions implements reactions.Service remotely over HTTP.
type Users ¶
type Users struct{}
Users implements users.Service remotely over HTTP.
func (Users) GetAuthenticated ¶
Click to show internal directories.
Click to hide internal directories.