api

package
v0.0.0-...-cda5842 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const PagingQueryPageNumber = "pageNumber"
View Source
const PagingQueryPageSize = "pageSize"
View Source
const PagingQuerySortKey = "sortKey"
View Source
const PagingQuerySortOrder = "sortOrder"
View Source
const PagingQuerySortOrderAscending = "ASC"
View Source
const RainbowTableCountKey = "rainbowTableCount"
View Source
const RainbowTableSearchCountKey = "searchCount"

Variables

This section is empty.

Functions

func AddRainbowTableRoutes

func AddRainbowTableRoutes(router *mux.Router, service dao.RainbowTableService, producers rabbitmq.HashbashMqProducers)

func AddRainbowTableSearchRoutes

func AddRainbowTableSearchRoutes(
	router *mux.Router,
	rainbowTableSearchService dao.RainbowTableSearchService,
	hashbashMqProducers rabbitmq.HashbashMqProducers,
)

func AddVersionRoutes

func AddVersionRoutes(router *mux.Router, buildTimestamp string, gitRevision string, version string)

Types

type GenerateRainbowTableRequest

type GenerateRainbowTableRequest struct {
	Name           string `json:"name,required"schema:"name,required"`
	ChainLength    int64  `json:"chainLength"schema:"chainLength"`
	Charset        string `json:"charset"schema:"charset"`
	HashFunction   string `json:"hashFunction"schema:"hashFunction"`
	NumChains      int64  `json:"numChains"schema:"numChains"`
	PasswordLength int64  `json:"passwordLength"schema:"passwordLength"`
}

Jump to

Keyboard shortcuts

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