transmission

package
v0.0.0-...-087bd63 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonConfig

type JsonConfig struct {
	RpcPort float64 `json:"rpc-port"`
	RpcUrl  string  `json:"rpc-url"`
}

func NewJsonConfig

func NewJsonConfig(content *bytes.Buffer) (JsonConfig, error)

type Service

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

func NewTransmissionService

func NewTransmissionService(container *types.Container, jsonConfigContent *bytes.Buffer, env map[string]string) (*Service, error)

func (*Service) ConfigContract

func (t *Service) ConfigContract() string

func (*Service) Host

func (s *Service) Host() string

func (*Service) Implementation

func (t *Service) Implementation() string

func (*Service) Password

func (s *Service) Password() string

func (*Service) Port

func (s *Service) Port() float64

func (*Service) Protocol

func (t *Service) Protocol() string

func (*Service) SSL

func (s *Service) SSL() bool

func (*Service) ToDownloadClient

func (t *Service) ToDownloadClient() *arrclient.DownloadClient

func (*Service) UrlBase

func (s *Service) UrlBase() string

func (*Service) Username

func (s *Service) Username() string

Jump to

Keyboard shortcuts

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