Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctrl ¶
type Ctrl struct {
// contains filtered or unexported fields
}
Ctrl holds all the gui controllers. This struct allows us to share common data to all the controllers.
func NewCtrl ¶
NewCtrl creates a new Ctrl. It gets and stored the current folder path of this file so that we can later reference our statics files.
func (Ctrl) EncryptHandler ¶
func (c Ctrl) EncryptHandler() http.HandlerFunc
EncryptHandler handles the encryption
func (Ctrl) HomeHandler ¶
func (c Ctrl) HomeHandler() http.HandlerFunc
HomeHandler handles the home page
func (Ctrl) PubkeyHandler ¶
func (c Ctrl) PubkeyHandler() http.HandlerFunc
PubkeyHandler handles the public key request
func (Ctrl) ReadHandler ¶
func (c Ctrl) ReadHandler() http.HandlerFunc
ReadHandler handles the read requests
func (Ctrl) WriteHandler ¶
func (c Ctrl) WriteHandler() http.HandlerFunc
WriteHandler handles the write requests
Click to show internal directories.
Click to hide internal directories.