hubd

package
v2.6.15 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2022 License: MIT Imports: 28 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         *mdb.Collections
	Threads             *threads.Client
	ThreadsNet          *netclient.Client
	GatewayURL          string
	EmailClient         *email.Client
	EmailSessionBus     *broadcast.Broadcaster
	EmailSessionSecret  string
	IPFSClient          iface.CoreAPI
	IPNSManager         *ipns.Manager
	BillingClient       *billing.Client
	PowergateClient     *pow.Client
	PowergateAdminToken string
}

func (*Service) BuildInfo

BuildInfo provides the currently running API's build information

func (*Service) CreateKey

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

func (*Service) CreateOrg

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

func (*Service) DestroyAccount

func (*Service) GetBillingSession

func (s *Service) GetBillingSession(
	ctx context.Context,
	_ *pb.GetBillingSessionRequest,
) (*pb.GetBillingSessionResponse, error)

func (*Service) GetIdentity

func (*Service) GetOrg

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

func (*Service) GetSessionInfo

func (*Service) InvalidateKey

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

func (*Service) InviteToOrg

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

func (*Service) IsOrgNameAvailable

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

func (*Service) IsUsernameAvailable

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

func (*Service) LeaveOrg

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

func (*Service) ListBillingUsers

func (s *Service) ListBillingUsers(
	ctx context.Context,
	req *pb.ListBillingUsersRequest,
) (*pb.ListBillingUsersResponse, error)

func (*Service) ListKeys

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

func (*Service) ListOrgs

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

func (*Service) RemoveOrg

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

func (*Service) SetupBilling

func (*Service) Signin

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

func (*Service) Signout

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

func (*Service) Signup

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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