Tapir provides a framework for building Anonymous / metadata resistant Services
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- package tapir
-
- import (
- "cwtch.im/tapir/primitives/core"
- )
-
- // Capability defines a status granted to a connection, from an application. That allows the connection to access
- // other Application or functions within an Application.
- type Capability string
-
- // Application defines the interface for all Tapir Applications
- type Application interface {
- NewInstance() Application
- Init(connection Connection)
- Transcript() *core.Transcript
- PropagateTranscript(transcript *core.Transcript)
- }
-
- // InteractiveApplication defines the interface for interactive Tapir applications (apps that expect the user to send
- // and receive messages from)
- type InteractiveApplication interface {
- Application
- Listen()
- }
|