Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAndParsePrivateKey ¶
func LoadAndParsePrivateKey(path string) (*rsa.PrivateKey, error)
Types ¶
type Dispatcher ¶
type Dispatcher interface { CanDispatch(*proto.PushDestination) bool Dispatch(*proto.PushData, *proto.PushDestination) error }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(tokenDecrypter crypto.Decrypter, dispatchers ...Dispatcher) *Manager
Click to show internal directories.
Click to hide internal directories.