gitamite

package module
Version: v0.0.0-...-f9dd4c8 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2017 License: AGPL-3.0 Imports: 8 Imported by: 0

README

gitamite

a git frontend designed to be a distributed alternative to GitHub

tee-hee-hee

deps
  • pygments (for syntax highlighting) (TODO: implement myself)

(c) 2017 Charles Saternos

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigValue

func GetConfigValue(field string) (string, error)

func LoadConfig

func LoadConfig(c ConfigType)

func ParseConfig

func ParseConfig(path string) *map[string]interface{}

func ReadKeyringFile

func ReadKeyringFile(path string) (openpgp.EntityList, error)

TODO make sure to memoize

func WriteConfig

func WriteConfig(c *map[string]interface{}, p string) error

Types

type AuthRequest

type AuthRequest struct {
	Signature []byte
	Data      interface{}
}

func CreateAuthRequest

func CreateAuthRequest(data interface{}) (AuthRequest, error)

func (AuthRequest) VerifyRequest

func (r AuthRequest) VerifyRequest() error

type ConfigType

type ConfigType int
const (
	Client ConfigType = iota
	Server
)

Source Files

Directories

Path Synopsis
server
cmd

Jump to

Keyboard shortcuts

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