channel

package
v0.0.0-...-35bba2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(encoded []byte) (*pb.Channel, error)

func Delete

func Delete(db *bolt.DB, chn *pb.Channel) error

func Find

func Find(db *bolt.DB, id ksuid.KSUID) (*pb.Channel, error)

func GetAll

func GetAll(db *bolt.DB) ([]*pb.Channel, error)

func New

func New(chanType pb.ChannelType) *pb.Channel

func Save

func Save(db *bolt.DB, chn *pb.Channel) error

Types

type ChannelRepository

type ChannelRepository struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL