domain

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("domain", fx.Provide(NewDomain))

Functions

This section is empty.

Types

type Domain

type Domain interface {
	SocketService
}

func NewDomain

func NewDomain(
	iamCli iam.IAMClient,
	env *env.Env,

	logger logging.Logger,
	natsClient *nats.Client,
	jetStreamClient *nats.JetstreamClient,
) Domain

type LogSubscriptionCtx

type LogSubscriptionCtx struct {
	Context    context.Context
	CancelFunc context.CancelFunc
	Reader     io.Reader
}

type SocketService

type SocketService interface {
	HandleWebSocket(ctx context.Context, c *websocket.Conn) error
}

type UserContext

type UserContext struct {
	context.Context
	UserId    repos.ID
	UserName  string
	UserEmail string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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