channelService

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

This section is empty.

Types

type Server

type Server struct {
	pbService.UnimplementedChannelServiceServer
	// contains filtered or unexported fields
}

func New

func New(db *bolt.DB) *Server

func (*Server) CreateChannel

func (srv *Server) CreateChannel(ctx context.Context, req *pb.CreateChannelRequest) (*pb.CreateChannelResponse, error)

func (*Server) ListChannels

func (srv *Server) ListChannels(ctx context.Context, in *pb.ListChannelsRequest) (*pb.ListChannelsResponse, error)

Jump to

Keyboard shortcuts

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