Documentation ¶
Index ¶
- type SessionsServer
- func (c *SessionsServer) Get(ctx context.Context, req *sspb.GetSessions) (*sspb.Sessions, error)
- func (c *SessionsServer) GetActivity(ctx context.Context, req *sspb.GetActivityRequest) (*sspb.Activity, error)
- func (c *SessionsServer) Revoke(ctx context.Context, req *sspb.Session) (*sspb.DeleteResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionsServer ¶
type SessionsServer struct { sspb.UnimplementedSessionsServiceServer // contains filtered or unexported fields }
func NewSessionsServer ¶
func NewSessionsServer(log *zap.Logger, rdb *redis.Client, db driver.Database) *SessionsServer
func (*SessionsServer) Get ¶
func (c *SessionsServer) Get(ctx context.Context, req *sspb.GetSessions) (*sspb.Sessions, error)
func (*SessionsServer) GetActivity ¶
func (c *SessionsServer) GetActivity(ctx context.Context, req *sspb.GetActivityRequest) (*sspb.Activity, error)
func (*SessionsServer) Revoke ¶
func (c *SessionsServer) Revoke(ctx context.Context, req *sspb.Session) (*sspb.DeleteResponse, error)
Click to show internal directories.
Click to hide internal directories.