anarchy

package
v0.0.0-...-531763a Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Anarchy

type Anarchy struct {
	*pb.UnimplementedAnarchyServer
	// contains filtered or unexported fields
}

func InitAnarchy

func InitAnarchy(db *db.DB, grpc *grpc.Server) *Anarchy

InitAnarchy initializes Elemental 7's Anarchy server

func (*Anarchy) AddFound

func (a *Anarchy) AddFound(ctx context.Context, req *pb.AnarchyUserRequest) (*emptypb.Empty, error)

func (*Anarchy) CreateElement

func (a *Anarchy) CreateElement(ctx context.Context, req *pb.AnarchyElementCreate) (*emptypb.Empty, error)

func (*Anarchy) GetAll

func (a *Anarchy) GetAll(uid *wrapperspb.StringValue, stream pb.Anarchy_GetAllServer) error

func (*Anarchy) GetCombination

func (a *Anarchy) GetCombination(_ context.Context, combo *pb.AnarchyCombination) (*pb.AnarchyCombinationResult, error)

func (*Anarchy) GetElem

GetElem gets an element from the database

func (*Anarchy) GetInv

func (*Anarchy) GetRecents

func (a *Anarchy) GetRecents(_ context.Context, _ *emptypb.Empty) (*pb.AnarchyRecents, error)

func (*Anarchy) WaitForNextRecent

func (a *Anarchy) WaitForNextRecent(_ *emptypb.Empty, stream pb.Anarchy_WaitForNextRecentServer) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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