2016-12-13 18:03:16 +03:00
|
|
|
package sessionsvc
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"golang.org/x/net/context"
|
|
|
|
|
2016-12-13 18:11:50 +03:00
|
|
|
pb "github.com/moul/protoc-gen-gotemplate/examples/go-kit/services/session/gen/pb"
|
2016-12-13 18:03:16 +03: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")
|
|
|
|
}
|