notifier

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiGrade

type ApiGrade struct {
	Course string  `json:"course"`
	Class  string  `json:"class"`
	Name   string  `json:"name"`
	Mean   float32 `json:"class_average"`
}

type Client

type Client struct {
	BaseUrl string
	ApiKey  string
	// contains filtered or unexported fields
}

func NewClient

func NewClient(apiUrl string, apiKey string) *Client

func (*Client) SendGrade

func (c *Client) SendGrade(ctx context.Context, grade *ApiGrade) error

Jump to

Keyboard shortcuts

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