schnutibox/pkg/api/v1/server.go

18 lines
264 B
Go
Raw Normal View History

2021-05-05 08:32:35 +02:00
package v1
import (
"context"
"github.com/rs/zerolog/log"
)
type Server struct {
UnimplementedIdentifierServer
}
func (s Server) Identify(ctx context.Context, r *IdentifyRequest) (*Tracks, error) {
log.Info().Msg("Tracks und so")
return &Tracks{}, nil
}