Documentation ¶
Index ¶
- Constants
- Variables
- type Handler
- type Service
- func (s *Service) FindBySessionID(ctx pgrest.Context, sessionID string) (*types.Review, error)
- func (s *Service) FindOne(ctx pgrest.OrgContext, id string) (*types.Review, error)
- func (s *Service) Persist(ctx pgrest.OrgContext, review *types.Review) error
- func (s *Service) Review(ctx *storagev2.Context, reviewID string, status types.ReviewStatus) (*types.Review, error)
- func (s *Service) Revoke(ctx pgrest.OrgContext, reviewID string) (*types.Review, error)
Constants ¶
View Source
const ( ReviewTypeJit = "jit" ReviewTypeOneTime = "onetime" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
TransportService transportService
}
func (*Service) FindBySessionID ¶
FindOneTimeReview returns an one time review by session id
Click to show internal directories.
Click to hide internal directories.