Documentation
¶
Index ¶
- type Protocol
- func (p *Protocol) CreateAccount(context.Context, *connect_go.Request[v1.CreateAccountRequest]) (*connect_go.Response[v1.CreateAccountResponse], error)
- func (p *Protocol) GetAccount(context.Context, *connect_go.Request[v1.GetAccountRequest]) (*connect_go.Response[v1.GetAccountResponse], error)
- func (p *Protocol) Keygen(ctx context.Context, req *connect_go.Request[v1.KeygenRequest]) (*connect_go.Response[v1.KeygenResponse], error)
- func (p *Protocol) LoginFinish(context.Context, *connect_go.Request[v1.LoginFinishRequest]) (*connect_go.Response[v1.LoginFinishResponse], error)
- func (p *Protocol) LoginStart(context.Context, *connect_go.Request[v1.LoginStartRequest]) (*connect_go.Response[v1.LoginStartResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct {
Authentication highwayv1connect.AuthenticationHandler
Accounts highwayv1connect.MpcHandler
Vault highwayv1connect.VaultHandler
Node node.IPFS
}
func (*Protocol) CreateAccount ¶
func (p *Protocol) CreateAccount(context.Context, *connect_go.Request[v1.CreateAccountRequest]) (*connect_go.Response[v1.CreateAccountResponse], error)
func (*Protocol) GetAccount ¶
func (p *Protocol) GetAccount(context.Context, *connect_go.Request[v1.GetAccountRequest]) (*connect_go.Response[v1.GetAccountResponse], error)
func (*Protocol) Keygen ¶
func (p *Protocol) Keygen(ctx context.Context, req *connect_go.Request[v1.KeygenRequest]) (*connect_go.Response[v1.KeygenResponse], error)
func (*Protocol) LoginFinish ¶
func (p *Protocol) LoginFinish(context.Context, *connect_go.Request[v1.LoginFinishRequest]) (*connect_go.Response[v1.LoginFinishResponse], error)
func (*Protocol) LoginStart ¶
func (p *Protocol) LoginStart(context.Context, *connect_go.Request[v1.LoginStartRequest]) (*connect_go.Response[v1.LoginStartResponse], error)
Click to show internal directories.
Click to hide internal directories.