frontend

package
v0.0.0-...-249e25c Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: AGPL-3.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyJoinedNetwork = errors.New("user already has a membership for that network")
)

errors ...

View Source
var (
	ErrProfileNameNotAvailable = errors.New("profile name not available")
)

errors ...

Functions

func RegisterService

func RegisterService(fn ServiceFunc)

RegisterService ...

Types

type Server

type Server struct {
	Store          kv.BlobStore
	Logger         *zap.Logger
	SessionManager *session.Manager
}

Server ...

func (*Server) Listen

func (s *Server) Listen(ctx context.Context, rw io.ReadWriter) error

Listen ...

type ServiceFunc

type ServiceFunc func(server *rpc.Server, params ServiceParams)

ServiceFunc ...

type ServiceParams

type ServiceParams struct {
	Logger  *zap.Logger
	Profile *profilev1.Profile
	Store   dao.Store
	Queue   queue.Queue
	App     app.Control
}

ServiceParams ...

Jump to

Keyboard shortcuts

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