summary refs log blame commit diff
path: root/synapse/push/pusher.py
blob: 49608375048371947b6ff3e455efe479f6f5a173 (plain) (tree)
1
2
3
4
5
6
7
8
9
10








                                                               
from httppusher import HttpPusher

PUSHER_TYPES = {
    'http': HttpPusher
}


def create_pusher(hs, pusherdict):
    if pusherdict['kind'] in PUSHER_TYPES:
        return PUSHER_TYPES[pusherdict['kind']](hs, pusherdict)