api

package
v0.0.0-...-4d42741 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetStorageRequest

type GetStorageRequest struct {
	ID    int64  `json:"id"`
	Email string `json:"email" `
}

type Server

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

func NewServer

func NewServer(config utils.Config, oauth2Config *oauth2.Config, store db.Store, google google.GoogleAuthService) (*Server, error)

func (*Server) HttpLogger

func (server *Server) HttpLogger() gin.IRoutes

func (*Server) Start

func (server *Server) Start(address string) error

Start runs the HTTP server at the given address

Jump to

Keyboard shortcuts

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