Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶
Types ¶
type PusherClient ¶
type PusherClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(txns pusherpb.PusherServiceInterface, settings pusherpb.SettingsPusherServiceInterface) *PusherClient
func NewDBPusher ¶
func NewDBPusher(baseurl string) *PusherClient
func (*PusherClient) PushSettings ¶
type RoutedPusher ¶
type RoutedPusher struct {
// contains filtered or unexported fields
}
func NewRoutedPusher ¶
func NewRoutedPusher(router pt.Router) *RoutedPusher
TODO(outself): add SetClient
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) Push ¶
func (s *Service) Push(ctx context.Context, req *pusherpb.PushRequest) (*pusherpb.PushResponse, error)
type SettingsService ¶
type SettingsService struct {
// contains filtered or unexported fields
}
func NewSettingsService ¶
func NewSettingsService(pusher pt.SettingsPusher) *SettingsService
func (*SettingsService) PushSettings ¶
func (s *SettingsService) PushSettings(ctx context.Context, req *pusherpb.PushSettingsRequest) (*pusherpb.PushSettingsResponse, error)
Click to show internal directories.
Click to hide internal directories.