Documentation ¶ Index ¶ type Request func NewRequest(mongo *service.Mongo) *Request func (r *Request) Create(ctx context.Context, slug string, info *schema.RequestInfo) (*schema.Request, error) func (r *Request) List(ctx context.Context, slug string) ([]*schema.Request, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Request ¶ type Request struct { // contains filtered or unexported fields } Request data model for requestinfo func NewRequest ¶ func NewRequest(mongo *service.Mongo) *Request func (*Request) Create ¶ func (r *Request) Create(ctx context.Context, slug string, info *schema.RequestInfo) (*schema.Request, error) func (*Request) List ¶ func (r *Request) List(ctx context.Context, slug string) ([]*schema.Request, error) Source Files ¶ View all Source files dig.go request.go Click to show internal directories. Click to hide internal directories.