rpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ClientID string `valid:"uuid,required"`
}

type Server

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

func New

func New(
	outputs core.OutputStore,
	transfers core.TransferStore,
	transferz core.TransferService,
	logger *slog.Logger,
	cfg Config,
) *Server

func (*Server) Handler

func (s *Server) Handler() (string, http.Handler)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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