You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
687 B

package bacheca
import (
proto ""
// Service is the definition of the Bacheca service
type Service interface {
GetFeed(context.Context, *proto.GetFeedRequest, *proto.GetFeedResponse) error
type bachecaService struct {
backend storage.Backend
// MakeService returns an instance of the bacheca service
func MakeService(store storage.Backend) Service {
return &bachecaService{
backend: store,
func (b *bachecaService) GetFeed(ctx context.Context, req *proto.GetFeedRequest, rsp *proto.GetFeedResponse) error {
return errors.New("not implemented")