score

package
v0.0.0-...-16e66f6 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(opts ...core.ClientOption) *Client

func (*Client) Create

func (c *Client) Create(ctx context.Context, request *api.CreateScoreRequest) (*api.Score, error)

Add a score to the database, upserts on id

func (*Client) Get

func (c *Client) Get(ctx context.Context, request *api.ScoreGetRequest) (*api.Scores, error)

Get scores

Jump to

Keyboard shortcuts

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