Documentation ¶
Index ¶
- type Service
- func (s *Service) BuildInfo(_ context.Context, _ *pb.BuildInfoRequest) (*pb.BuildInfoResponse, error)
- func (s *Service) CreateKey(ctx context.Context, req *pb.CreateKeyRequest) (*pb.CreateKeyResponse, error)
- func (s *Service) CreateOrg(ctx context.Context, req *pb.CreateOrgRequest) (*pb.CreateOrgResponse, error)
- func (s *Service) DestroyAccount(ctx context.Context, _ *pb.DestroyAccountRequest) (*pb.DestroyAccountResponse, error)
- func (s *Service) GetBillingSession(ctx context.Context, _ *pb.GetBillingSessionRequest) (*pb.GetBillingSessionResponse, error)
- func (s *Service) GetIdentity(ctx context.Context, _ *pb.GetIdentityRequest) (*pb.GetIdentityResponse, error)
- func (s *Service) GetOrg(ctx context.Context, _ *pb.GetOrgRequest) (*pb.GetOrgResponse, error)
- func (s *Service) GetSessionInfo(ctx context.Context, _ *pb.GetSessionInfoRequest) (*pb.GetSessionInfoResponse, error)
- func (s *Service) InvalidateKey(ctx context.Context, req *pb.InvalidateKeyRequest) (*pb.InvalidateKeyResponse, error)
- func (s *Service) InviteToOrg(ctx context.Context, req *pb.InviteToOrgRequest) (*pb.InviteToOrgResponse, error)
- func (s *Service) IsOrgNameAvailable(ctx context.Context, req *pb.IsOrgNameAvailableRequest) (*pb.IsOrgNameAvailableResponse, error)
- func (s *Service) IsUsernameAvailable(ctx context.Context, req *pb.IsUsernameAvailableRequest) (*pb.IsUsernameAvailableResponse, error)
- func (s *Service) LeaveOrg(ctx context.Context, _ *pb.LeaveOrgRequest) (*pb.LeaveOrgResponse, error)
- func (s *Service) ListBillingUsers(ctx context.Context, req *pb.ListBillingUsersRequest) (*pb.ListBillingUsersResponse, error)
- func (s *Service) ListKeys(ctx context.Context, _ *pb.ListKeysRequest) (*pb.ListKeysResponse, error)
- func (s *Service) ListOrgs(ctx context.Context, _ *pb.ListOrgsRequest) (*pb.ListOrgsResponse, error)
- func (s *Service) RemoveOrg(ctx context.Context, _ *pb.RemoveOrgRequest) (*pb.RemoveOrgResponse, error)
- func (s *Service) SetupBilling(ctx context.Context, _ *pb.SetupBillingRequest) (*pb.SetupBillingResponse, error)
- func (s *Service) Signin(ctx context.Context, req *pb.SigninRequest) (*pb.SigninResponse, error)
- func (s *Service) Signout(ctx context.Context, _ *pb.SignoutRequest) (*pb.SignoutResponse, error)
- func (s *Service) Signup(ctx context.Context, req *pb.SignupRequest) (*pb.SignupResponse, error)
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 Analytics *analytics.Client }
func (*Service) BuildInfo ¶
func (s *Service) BuildInfo(_ context.Context, _ *pb.BuildInfoRequest) (*pb.BuildInfoResponse, error)
Info 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 (s *Service) DestroyAccount(ctx context.Context, _ *pb.DestroyAccountRequest) (*pb.DestroyAccountResponse, error)
func (*Service) GetBillingSession ¶
func (s *Service) GetBillingSession(ctx context.Context, _ *pb.GetBillingSessionRequest) (*pb.GetBillingSessionResponse, error)
func (*Service) GetIdentity ¶
func (s *Service) GetIdentity(ctx context.Context, _ *pb.GetIdentityRequest) (*pb.GetIdentityResponse, error)
func (*Service) GetOrg ¶
func (s *Service) GetOrg(ctx context.Context, _ *pb.GetOrgRequest) (*pb.GetOrgResponse, error)
func (*Service) GetSessionInfo ¶
func (s *Service) GetSessionInfo(ctx context.Context, _ *pb.GetSessionInfoRequest) (*pb.GetSessionInfoResponse, error)
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 (s *Service) SetupBilling(ctx context.Context, _ *pb.SetupBillingRequest) (*pb.SetupBillingResponse, error)
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)
Click to show internal directories.
Click to hide internal directories.