api

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ctx

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

Ctx is the context of the root of the API

func Router

func Router(db *database.DB, serverConfig, authConfig *viper.Viper, domainConfig []domain.ConfigItem,
	tokenConfig *token.Config) (*Ctx, *chi.Mux)

Router provides routes for the whole API

Directories

Path Synopsis
Package answers provides API services for task answers managing
Package answers provides API services for task answers managing
Package auth provides API services related to authentication
Package auth provides API services related to authentication
Package contests provides API services for contests managing
Package contests provides API services for contests managing
Package items provides API services for items managing
Package items provides API services for items managing

Jump to

Keyboard shortcuts

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