transmission

package
v0.0.0-...-8f4bd53 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(args *providers.Args) (providers.Provider, error)

New creates a new transmission rpc host provdier.

Types

type Provider

type Provider struct {
}

Provider is a transmission rpc host provider.

func (*Provider) NewRemoteConfigStore

func (p *Provider) NewRemoteConfigStore(ctx context.Context) (providers.RemoveConfigStore, error)

NewRemoteConfigStore creates a new remote config store.

type RemoteConfigStore

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

RemoteConfigStore wraps setting configuration for the transrpc rpc host.

func (*RemoteConfigStore) GetAllFlat

func (r *RemoteConfigStore) GetAllFlat() []string

GetAllFlat satisfies the ConfigStore interface.

func (*RemoteConfigStore) GetKey

func (r *RemoteConfigStore) GetKey(key string) string

GetKey satisfies the ConfigStore interface.

func (*RemoteConfigStore) GetMapFlat

func (r *RemoteConfigStore) GetMapFlat() map[string]string

GetMapFlat satisfies the ConfigStore interface.

func (*RemoteConfigStore) SetKey

func (r *RemoteConfigStore) SetKey(key, value string)

SetKey satisfies the ConfigStore interface.

func (*RemoteConfigStore) Write

func (r *RemoteConfigStore) Write(string) error

Write satisfies the ConfigStore interface.

Jump to

Keyboard shortcuts

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