api

package
v0.0.0-...-3fdfd18 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 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 Context

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

func NewAPIContext

func NewAPIContext(ds *service.DatabaseService, rs *service.RedisService, logger *logrus.Logger) *Context

func (*Context) CreateConfig

func (c *Context) CreateConfig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) CreateKey

func (c *Context) CreateKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) CreateUser

func (c *Context) CreateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) CreateWallet

func (c *Context) CreateWallet(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) DeleteKey

func (c *Context) DeleteKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) DeleteUserByID

func (c *Context) DeleteUserByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) DeleteWalletByID

func (c *Context) DeleteWalletByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) GetConfig

func (c *Context) GetConfig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) GetKey

func (c *Context) GetKey(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) GetUserByID

func (c *Context) GetUserByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) GetUsers

func (c *Context) GetUsers(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) GetWalletByID

func (c *Context) GetWalletByID(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) GetWallets

func (c *Context) GetWallets(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) PingStore

func (c *Context) PingStore(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) UpdateConfig

func (c *Context) UpdateConfig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) UpdateUser

func (c *Context) UpdateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Context) UpdateWallet

func (c *Context) UpdateWallet(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

Jump to

Keyboard shortcuts

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