hub

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Collections        *c.Collections
	Threads            *threads.Client
	ThreadsNet         *netclient.Client
	GatewayURL         string
	EmailClient        *email.Client
	EmailSessionBus    *broadcast.Broadcaster
	EmailSessionSecret string
	IPFSClient         iface.CoreAPI
	IPNSManager        *ipns.Manager
	DNSManager         *dns.Manager
}

func (*Service) CreateKey

func (s *Service) CreateKey(ctx context.Context, req *pb.CreateKeyRequest) (*pb.GetKeyReply, error)

func (*Service) CreateOrg

func (s *Service) CreateOrg(ctx context.Context, req *pb.CreateOrgRequest) (*pb.GetOrgReply, error)

func (*Service) DestroyAccount added in v1.0.2

func (s *Service) DestroyAccount(ctx context.Context, _ *pb.DestroyAccountRequest) (*pb.DestroyAccountReply, error)

func (*Service) GetOrg

func (s *Service) GetOrg(ctx context.Context, _ *pb.GetOrgRequest) (*pb.GetOrgReply, error)

func (*Service) GetSessionInfo

func (s *Service) GetSessionInfo(ctx context.Context, _ *pb.GetSessionInfoRequest) (*pb.GetSessionInfoReply, error)

func (*Service) InvalidateKey

func (s *Service) InvalidateKey(ctx context.Context, req *pb.InvalidateKeyRequest) (*pb.InvalidateKeyReply, error)

func (*Service) InviteToOrg

func (s *Service) InviteToOrg(ctx context.Context, req *pb.InviteToOrgRequest) (*pb.InviteToOrgReply, error)

func (*Service) IsOrgNameAvailable

func (s *Service) IsOrgNameAvailable(ctx context.Context, req *pb.IsOrgNameAvailableRequest) (*pb.IsOrgNameAvailableReply, error)

func (*Service) IsUsernameAvailable

func (s *Service) IsUsernameAvailable(ctx context.Context, req *pb.IsUsernameAvailableRequest) (*pb.IsUsernameAvailableReply, error)

func (*Service) LeaveOrg

func (s *Service) LeaveOrg(ctx context.Context, _ *pb.LeaveOrgRequest) (*pb.LeaveOrgReply, error)

func (*Service) ListKeys

func (s *Service) ListKeys(ctx context.Context, _ *pb.ListKeysRequest) (*pb.ListKeysReply, error)

func (*Service) ListOrgs

func (s *Service) ListOrgs(ctx context.Context, _ *pb.ListOrgsRequest) (*pb.ListOrgsReply, error)

func (*Service) RemoveOrg

func (s *Service) RemoveOrg(ctx context.Context, _ *pb.RemoveOrgRequest) (*pb.RemoveOrgReply, error)

func (*Service) Signin

func (s *Service) Signin(ctx context.Context, req *pb.SigninRequest) (*pb.SigninReply, error)

func (*Service) Signout

func (s *Service) Signout(ctx context.Context, _ *pb.SignoutRequest) (*pb.SignoutReply, error)

func (*Service) Signup

func (s *Service) Signup(ctx context.Context, req *pb.SignupRequest) (*pb.SignupReply, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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