2016-12-13 16:03:16 +01:00
|
|
|
package sessionsvc
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"golang.org/x/net/context"
|
|
|
|
|
2018-09-12 20:29:07 +02:00
|
|
|
pb "moul.io/protoc-gen-gotemplate/examples/go-kit/services/session/gen/pb"
|
2016-12-13 16:03:16 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
type Service struct{}
|
|
|
|
|
|
|
|
func New() pb.SessionServiceServer {
|
|
|
|
return &Service{}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (svc *Service) Login(ctx context.Context, in *pb.LoginRequest) (*pb.LoginResponse, error) {
|
|
|
|
return nil, fmt.Errorf("not implemented")
|
|
|
|
}
|