swebsocket

package
v0.0.0-...-36d6306 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 (WebSocketHeaderService) Delete

func (WebSocketHeaderService) DeleteByWebSocketID

func (s WebSocketHeaderService) DeleteByWebSocketID(ctx context.Context, wsID idwrap.IDWrap) error

func (WebSocketHeaderService) GetByID

func (WebSocketHeaderService) GetByWebSocketID

func (WebSocketHeaderService) TX

func (WebSocketHeaderService) Update

type WebSocketService

type WebSocketService struct {
	// contains filtered or unexported fields
}

func New

func New(queries *gen.Queries, logger *slog.Logger) WebSocketService

func (WebSocketService) Create

func (WebSocketService) Delete

func (s WebSocketService) Delete(ctx context.Context, id idwrap.IDWrap) error

func (WebSocketService) Get

func (WebSocketService) GetByWorkspaceID

func (s WebSocketService) GetByWorkspaceID(ctx context.Context, workspaceID idwrap.IDWrap) ([]mwebsocket.WebSocket, error)

func (WebSocketService) GetWorkspaceID

func (s WebSocketService) GetWorkspaceID(ctx context.Context, id idwrap.IDWrap) (idwrap.IDWrap, error)

func (WebSocketService) TX

func (WebSocketService) Update

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL