Documentation ¶
Index ¶
- Constants
- type Service
- func (s *Service) GenerateKey(relays []string) (string, uuid.UUID)
- func (s *Service) ParseKey(key string) (relays []string, id uuid.UUID, err error)
- func (s *Service) Receive(ctx context.Context, uid uuid.UUID, servers []string, caPath string, ...) (string, error)
- func (s *Service) Share(ctx context.Context, filePath string, uid uuid.UUID, relays []string, ...) error
- func (s *Service) VerifyRelays(ctx context.Context, relays []string, caPath string, withTLS, skipVerify bool) error
Constants ¶
View Source
const ( KB = 1 << (10 * (iota + 1)) MB GB )
View Source
const ChunkSize = 1 * MB
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.