supabase

package
v0.0.0-...-15dca4e Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IDAlphabet  = "abcdefghijklmnopqrstuvwxyz"
	IDLength    = 20
	KeyAlphabet = "abcdef0123456789"
	KeyLength   = 40
)

Variables

View Source
var AccessToken = "sbp_" + gonanoid.MustGenerate(KeyAlphabet, KeyLength)

Functions

This section is empty.

Types

type Server

type Server struct {
	FunctionsHandler func(c *gin.Context)
	SecretsHandler   func(c *gin.Context)
}

Server struct with route handlers

func NewServer

func NewServer() *Server

NewServer creates a new server with default handlers

func (*Server) NewRouter

func (s *Server) NewRouter() *gin.Engine

NewRouter creating a new router and setting the routes for the server.

Jump to

Keyboard shortcuts

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