platformrpc

package
v0.0.0-...-28c9d62 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRPCHandlers

func RegisterRPCHandlers(gk *gripkit.Gripkit, platformSvc *PlatformService, unauthSvc *UnauthenticatedPlatformService)

Types

type PlatformService

type PlatformService struct {
	platform.UnimplementedPlatformServer
	// contains filtered or unexported fields
}

func (*PlatformService) AuthFuncOverride

func (p *PlatformService) AuthFuncOverride(ctx context.Context, fullMethodName string) (context.Context, error)

func (*PlatformService) EnumerateMyGuilds

func (p *PlatformService) EnumerateMyGuilds(ctx context.Context, req *empty.Empty) (*platform.GuildEnumeration, error)

func (*PlatformService) GetGuild

func (*PlatformService) UpdateGuildData

func (p *PlatformService) UpdateGuildData(ctx context.Context, req *platform.GuildData) (*empty.Empty, error)

func (*PlatformService) UpdateMyRoles

func (p *PlatformService) UpdateMyRoles(ctx context.Context, req *platform.UpdateRoles) (*empty.Empty, error)

type UnauthenticatedPlatformService

type UnauthenticatedPlatformService struct {
	platform.UnimplementedPlatformServer
	// contains filtered or unexported fields
}

func NewUnauthenticatedPlatformService

func NewUnauthenticatedPlatformService(db *ent.Client, discord discord.DiscordClient) *UnauthenticatedPlatformService

func (*UnauthenticatedPlatformService) GetGuildSlug

Jump to

Keyboard shortcuts

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