Documentation ¶
Index ¶
- func Decode(encoded []byte) (*pb.Channel, error)
- func Delete(db *bolt.DB, chn *pb.Channel) error
- func Find(db *bolt.DB, id ksuid.KSUID) (*pb.Channel, error)
- func GetAll(db *bolt.DB) ([]*pb.Channel, error)
- func New(chanType pb.ChannelType) *pb.Channel
- func Save(db *bolt.DB, chn *pb.Channel) error
- type ChannelRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChannelRepository ¶
type ChannelRepository struct{}
Click to show internal directories.
Click to hide internal directories.