rpc

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: GPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddSubscriptionParams

type AddSubscriptionParams struct {
	rpc2.CommonParams
	ThreadId base2.Id `json:"threadId"`
	UserId   base2.Id `json:"userId"`
}

type AddSubscriptionResult

type AddSubscriptionResult = rpc2.CommonResultWithSuccess

type ClearThreadSubscriptionsSParams

type ClearThreadSubscriptionsSParams struct {
	rpc2.CommonParams
	rpc2.DKeyParams
	ThreadId base2.Id `json:"threadId"`
}

type ClearThreadSubscriptionsSResult

type ClearThreadSubscriptionsSResult = rpc2.CommonResultWithSuccess

type CountSelfSubscriptionsParams

type CountSelfSubscriptionsParams struct {
	rpc2.CommonParams
}

type CountSelfSubscriptionsResult

type CountSelfSubscriptionsResult struct {
	rpc2.CommonResult
	UserSubscriptionsCount base2.Count `json:"userSubscriptionsCount"`
}

type DeleteSelfSubscriptionParams

type DeleteSelfSubscriptionParams struct {
	rpc2.CommonParams
	ThreadId base2.Id `json:"threadId"`
}

type DeleteSelfSubscriptionResult

type DeleteSelfSubscriptionResult = rpc2.CommonResultWithSuccess

type DeleteSubscriptionParams

type DeleteSubscriptionParams struct {
	rpc2.CommonParams
	ThreadId base2.Id `json:"threadId"`
	UserId   base2.Id `json:"userId"`
}

type DeleteSubscriptionResult

type DeleteSubscriptionResult = rpc2.CommonResultWithSuccess

type DeleteSubscriptionSParams

type DeleteSubscriptionSParams struct {
	rpc2.CommonParams
	rpc2.DKeyParams
	ThreadId base2.Id `json:"threadId"`
	UserId   base2.Id `json:"userId"`
}

type DeleteSubscriptionSResult

type DeleteSubscriptionSResult = rpc2.CommonResultWithSuccess

type GetDKeyParams

type GetDKeyParams struct {
	rpc2.CommonParams
}

type GetDKeyResult

type GetDKeyResult struct {
	rpc2.CommonResult
	DKey base2.Text `json:"dKey"`
}

type GetSelfSubscriptionsOnPageParams

type GetSelfSubscriptionsOnPageParams struct {
	rpc2.CommonParams
	Page base2.Count `json:"page"`
}

type GetSelfSubscriptionsOnPageResult

type GetSelfSubscriptionsOnPageResult struct {
	rpc2.CommonResult
	UserSubscriptions *models.UserSubscriptions `json:"userSubscriptions"`
}

type GetSelfSubscriptionsParams

type GetSelfSubscriptionsParams struct {
	rpc2.CommonParams
}

type GetSelfSubscriptionsResult

type GetSelfSubscriptionsResult struct {
	rpc2.CommonResult
	UserSubscriptions *models.UserSubscriptions `json:"userSubscriptions"`
}

type GetThreadSubscribersSParams

type GetThreadSubscribersSParams struct {
	rpc2.CommonParams
	rpc2.DKeyParams
	ThreadId base2.Id `json:"threadId"`
}

type GetThreadSubscribersSResult

type GetThreadSubscribersSResult struct {
	rpc2.CommonResult
	ThreadSubscriptions *models.ThreadSubscriptionsRecord `json:"threadSubscriptions"`
}

type GetUserSubscriptionsOnPageParams

type GetUserSubscriptionsOnPageParams struct {
	rpc2.CommonParams
	UserId base2.Id    `json:"userId"`
	Page   base2.Count `json:"page"`
}

type GetUserSubscriptionsOnPageResult

type GetUserSubscriptionsOnPageResult struct {
	rpc2.CommonResult
	UserSubscriptions *models.UserSubscriptions `json:"userSubscriptions"`
}

type GetUserSubscriptionsParams

type GetUserSubscriptionsParams struct {
	rpc2.CommonParams
	UserId base2.Id `json:"userId"`
}

type GetUserSubscriptionsResult

type GetUserSubscriptionsResult struct {
	rpc2.CommonResult
	UserSubscriptions *models.UserSubscriptions `json:"userSubscriptions"`
}

type IsSelfSubscribedParams

type IsSelfSubscribedParams struct {
	rpc2.CommonParams
	ThreadId base2.Id `json:"threadId"`
}

type IsSelfSubscribedResult

type IsSelfSubscribedResult struct {
	rpc2.CommonResult
	UserId       base2.Id   `json:"userId"`
	ThreadId     base2.Id   `json:"threadId"`
	IsSubscribed base2.Flag `json:"isSubscribed"`
}

type IsUserSubscribedParams

type IsUserSubscribedParams struct {
	rpc2.CommonParams
	UserId   base2.Id `json:"userId"`
	ThreadId base2.Id `json:"threadId"`
}

type IsUserSubscribedResult

type IsUserSubscribedResult struct {
	rpc2.CommonResult
	UserId       base2.Id   `json:"userId"`
	ThreadId     base2.Id   `json:"threadId"`
	IsSubscribed base2.Flag `json:"isSubscribed"`
}

type IsUserSubscribedSParams

type IsUserSubscribedSParams struct {
	rpc2.CommonParams
	rpc2.DKeyParams
	UserId   base2.Id `json:"userId"`
	ThreadId base2.Id `json:"threadId"`
}

type IsUserSubscribedSResult

type IsUserSubscribedSResult struct {
	rpc2.CommonResult
	UserId       base2.Id   `json:"userId"`
	ThreadId     base2.Id   `json:"threadId"`
	IsSubscribed base2.Flag `json:"isSubscribed"`
}

type PingParams

type PingParams = rpc2.PingParams

type PingResult

type PingResult = rpc2.PingResult

type ShowDiagnosticDataParams

type ShowDiagnosticDataParams struct{}

type ShowDiagnosticDataResult

type ShowDiagnosticDataResult struct {
	rpc2.CommonResult
	rpc2.RequestsCount
}

type TestParams

type TestParams struct {
	N uint `json:"n"`
}

type TestResult

type TestResult struct {
	rpc2.CommonResult
}

Jump to

Keyboard shortcuts

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