Documentation ¶
Index ¶
- type SessionServiceServer
- func (s *SessionServiceServer) Create(ctx context.Context, req *pb.CreateSessionRequest) (*pb.CreateSessionResponse, error)
- func (s *SessionServiceServer) Delete(ctx context.Context, req *pb.DeleteSessionRequest) (*pb.DeleteSessionResponse, error)
- func (s *SessionServiceServer) Verify(ctx context.Context, req *pb.VerifySessionRequest) (*pb.VerifySessionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionServiceServer ¶
type SessionServiceServer struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(repo session.Repository, secret string, expiration time.Duration) *SessionServiceServer
func (*SessionServiceServer) Create ¶
func (s *SessionServiceServer) Create(ctx context.Context, req *pb.CreateSessionRequest) (*pb.CreateSessionResponse, error)
func (*SessionServiceServer) Delete ¶
func (s *SessionServiceServer) Delete(ctx context.Context, req *pb.DeleteSessionRequest) (*pb.DeleteSessionResponse, error)
func (*SessionServiceServer) Verify ¶
func (s *SessionServiceServer) Verify(ctx context.Context, req *pb.VerifySessionRequest) (*pb.VerifySessionResponse, error)
Click to show internal directories.
Click to hide internal directories.