example

package
v1.10.20 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusteredInviteClient

type ClusteredInviteClient struct {
	// contains filtered or unexported fields
}

func (*ClusteredInviteClient) GetInvitationStatus

func (*ClusteredInviteClient) GetInviteCount

func (*ClusteredInviteClient) InvitePhoneNumber

type ClusteredInviteService

type ClusteredInviteService struct {
	invitepb.UnimplementedInviteServer
	// contains filtered or unexported fields
}

func NewClusteredInviteService

func NewClusteredInviteService(
	nodeID string,
	serverID int,
	registry registry.Observer,
	forwardingClientProvider func() invitepb.InviteClient,
) *ClusteredInviteService

func (*ClusteredInviteService) Close

func (c *ClusteredInviteService) Close()

func (*ClusteredInviteService) GetInviteCount

type Result

type Result uint32

func NewResult

func NewResult(userID *commonpb.UserId, serverID int, mismatch, cached bool) Result

func (Result) Cached

func (r Result) Cached() bool

func (Result) GetServerIndex

func (r Result) GetServerIndex() int

func (Result) GetUserID

func (r Result) GetUserID() []byte

func (Result) Mismatch

func (r Result) Mismatch() bool

Jump to

Keyboard shortcuts

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