Documentation ¶
Index ¶
- type Server
- func (s *Server) AddService(pp services.PushService, workers int, squash services.SquashConfig) (err error)
- func (s *Server) CountPush(serviceID string, success bool, duration time.Duration)
- func (s *Server) ReplaceToken(serviceID, token, replacement string)
- func (s *Server) Serve() (err error)
- func (s *Server) Shutdown(ctx context.Context) (err error)
- func (s *Server) TokenInvalid(serviceID, token string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server ...
func (*Server) AddService ¶
func (s *Server) AddService(pp services.PushService, workers int, squash services.SquashConfig) (err error)
AddService ...
func (*Server) ReplaceToken ¶
ReplaceToken ...
func (*Server) TokenInvalid ¶
TokenInvalid ...
Click to show internal directories.
Click to hide internal directories.