Documentation ¶
Index ¶
- func NewConnectionPool(ctx context.Context, addr string, minConn, maxConn int32) (*pgxpool.Pool, error)
- type HTTPOperations
- func (o *HTTPOperations) CreateHTTPOperation(ctx context.Context, operation entities.HTTPOperation) (entities.HTTPOperation, error)
- func (o *HTTPOperations) GetHTTPOperationByProjectIDAndHTTPMethodAndRoute(ctx context.Context, projectID uuid.UUID, httpMethod entities.HTTPMethod, ...) (entities.HTTPOperation, error)
- type Projects
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPOperations ¶
type HTTPOperations struct {
// contains filtered or unexported fields
}
func NewHTTPOperations ¶
func NewHTTPOperations(db db) *HTTPOperations
func (*HTTPOperations) CreateHTTPOperation ¶
func (o *HTTPOperations) CreateHTTPOperation(ctx context.Context, operation entities.HTTPOperation) (entities.HTTPOperation, error)
func (*HTTPOperations) GetHTTPOperationByProjectIDAndHTTPMethodAndRoute ¶
func (o *HTTPOperations) GetHTTPOperationByProjectIDAndHTTPMethodAndRoute( ctx context.Context, projectID uuid.UUID, httpMethod entities.HTTPMethod, route string, ) (entities.HTTPOperation, error)
type Projects ¶
type Projects struct {
// contains filtered or unexported fields
}
func NewProjects ¶
func NewProjects(db db) *Projects
func (*Projects) CreateProject ¶
Click to show internal directories.
Click to hide internal directories.