Documentation
¶
Index ¶
- Variables
- type WebSocketHeaderService
- func (s WebSocketHeaderService) Create(ctx context.Context, h mwebsocket.WebSocketHeader) error
- func (s WebSocketHeaderService) Delete(ctx context.Context, id idwrap.IDWrap) error
- func (s WebSocketHeaderService) DeleteByWebSocketID(ctx context.Context, wsID idwrap.IDWrap) error
- func (s WebSocketHeaderService) GetByID(ctx context.Context, id idwrap.IDWrap) (mwebsocket.WebSocketHeader, error)
- func (s WebSocketHeaderService) GetByWebSocketID(ctx context.Context, wsID idwrap.IDWrap) ([]mwebsocket.WebSocketHeader, error)
- func (s WebSocketHeaderService) TX(tx *sql.Tx) WebSocketHeaderService
- func (s WebSocketHeaderService) Update(ctx context.Context, h mwebsocket.WebSocketHeader) error
- type WebSocketService
- func (s WebSocketService) Create(ctx context.Context, ws *mwebsocket.WebSocket) error
- func (s WebSocketService) Delete(ctx context.Context, id idwrap.IDWrap) error
- func (s WebSocketService) Get(ctx context.Context, id idwrap.IDWrap) (*mwebsocket.WebSocket, error)
- func (s WebSocketService) GetByWorkspaceID(ctx context.Context, workspaceID idwrap.IDWrap) ([]mwebsocket.WebSocket, error)
- func (s WebSocketService) GetWorkspaceID(ctx context.Context, id idwrap.IDWrap) (idwrap.IDWrap, error)
- func (s WebSocketService) TX(tx *sql.Tx) WebSocketService
- func (s WebSocketService) Update(ctx context.Context, ws *mwebsocket.WebSocket) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoWebSocketFound = sql.ErrNoRows
Functions ¶
This section is empty.
Types ¶
type WebSocketHeaderService ¶
type WebSocketHeaderService struct {
// contains filtered or unexported fields
}
func NewWebSocketHeaderService ¶
func NewWebSocketHeaderService(queries *gen.Queries) WebSocketHeaderService
func (WebSocketHeaderService) Create ¶
func (s WebSocketHeaderService) Create(ctx context.Context, h mwebsocket.WebSocketHeader) error
func (WebSocketHeaderService) DeleteByWebSocketID ¶
func (WebSocketHeaderService) GetByID ¶
func (s WebSocketHeaderService) GetByID(ctx context.Context, id idwrap.IDWrap) (mwebsocket.WebSocketHeader, error)
func (WebSocketHeaderService) GetByWebSocketID ¶
func (s WebSocketHeaderService) GetByWebSocketID(ctx context.Context, wsID idwrap.IDWrap) ([]mwebsocket.WebSocketHeader, error)
func (WebSocketHeaderService) TX ¶
func (s WebSocketHeaderService) TX(tx *sql.Tx) WebSocketHeaderService
func (WebSocketHeaderService) Update ¶
func (s WebSocketHeaderService) Update(ctx context.Context, h mwebsocket.WebSocketHeader) error
type WebSocketService ¶
type WebSocketService struct {
// contains filtered or unexported fields
}
func (WebSocketService) Create ¶
func (s WebSocketService) Create(ctx context.Context, ws *mwebsocket.WebSocket) error
func (WebSocketService) Get ¶
func (s WebSocketService) Get(ctx context.Context, id idwrap.IDWrap) (*mwebsocket.WebSocket, error)
func (WebSocketService) GetByWorkspaceID ¶
func (s WebSocketService) GetByWorkspaceID(ctx context.Context, workspaceID idwrap.IDWrap) ([]mwebsocket.WebSocket, error)
func (WebSocketService) GetWorkspaceID ¶
func (WebSocketService) TX ¶
func (s WebSocketService) TX(tx *sql.Tx) WebSocketService
func (WebSocketService) Update ¶
func (s WebSocketService) Update(ctx context.Context, ws *mwebsocket.WebSocket) error
Click to show internal directories.
Click to hide internal directories.