structs

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

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

Go to latest
Published: Aug 18, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WalletPrivateKey string = ""

Functions

This section is empty.

Types

type Acc

type Acc struct {
	Email      string
	Password   string
	Terms      bool
	EthAddress string
	PubKey     string
	PrvteKey   string
	Allowed    bool
}

func (*Acc) GetPrivateKey

func (*Acc) GetPrivateKey() string

func (*Acc) SetPrivateKey

func (a *Acc) SetPrivateKey()

type HtmlContent

type HtmlContent struct {
	Typeclass   string
	Price       string
	Description string
	Token       string
	Paypal      string
}

type HtmlContentInterface

type HtmlContentInterface interface {
	ReadContent(pageURL string) ([]HtmlContent, error)
	SplitContent(content HtmlContent) []HtmlContent
}

type MolecularBio

type MolecularBio struct {
	AtomLevel  *pdb.Atom
	HetAtom    *pdb.Atom
	AlphaHelix *pdb.Helix
	BetaSheets *pdb.Strand
	LinkBy     []*pdb.Connection
	Chains     *pdb.Chain
	BioChem    *pdb.Matrix
	Resuide    *pdb.Residue
}

func SequenceStructure

func SequenceStructure(st2 string) MolecularBio

type ParserObject

type ParserObject struct{}

func (*ParserObject) ReadContent

func (p *ParserObject) ReadContent(pageURL string) ([]HtmlContent, error)

func (*ParserObject) SplitContent

func (*ParserObject) SplitContent(content HtmlContent) []HtmlContent

type RouteParameter

type RouteParameter struct {
	Response http.ResponseWriter
	Request  *http.Request
	// contains filtered or unexported fields
}

func (*RouteParameter) ExpireToken

func (p *RouteParameter) ExpireToken() error

func (*RouteParameter) GetContextSession

func (p *RouteParameter) GetContextSession() RouteParameter

func (*RouteParameter) NewToken

func (p *RouteParameter) NewToken() error

func (*RouteParameter) SetContextSession

func (p *RouteParameter) SetContextSession(user *sessions.CookieStore, w http.ResponseWriter, r *http.Request)

type SignedKey

type SignedKey struct {
	Reader string
	Signed string
	Tx     *ecdsa.PrivateKey
}

type UsersTokenization

type UsersTokenization interface {
	ExpireToken() error
	NewToken() error
	SetContextSession(user *sessions.CookieStore, w http.ResponseWriter, r *http.Request)
	GetContextSession() RouteParameter
}

Jump to

Keyboard shortcuts

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