wayne

command module
v0.0.0-...-5039b75 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 5 Imported by: 0

README

Table of contents

Overview

Wayne (Way-In) is an open-source, self-hosted, auth solution written as a GoLang-based micro-service. Local development available via Docker. Wayne is the toughest guy in LetterKenny, let him be your bouncer.


Setup

Setup Dev Environment

1) Pull down the repo
git clone git@github.com:bmsandoval/wayne.git
2) Install Golang
3) Configure Golang
  • add the following to your bash profile. these may very.
    • IMPORTANT : since using modules, this project must NOT reside in your GOPATH listed below
export PATH=$PATH:/usr/local/go/bin:$GOBIN
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOROOT/bin
export GOPATH=~/projects/go
export PATH=$PATH:$GOPATH/bin
4) Download Dependencies
go mod download && go mod vendor
5) Install Protoc
apt install -y protobuf-compiler

and set it up with your global golang

go get -u github.com/golang/protobuf/protoc-gen-go
6) Install DockerCE
  • Recommended - Docker version 20.10.7
7) Source the bash profile
. .profile

Testing

To test the application

  1. download BloomRPC. (postman-alternative for gRPC)
  2. 'import paths' and specify the 'servers' directory. hit 'refresh' if you ever change a proto file
    • its the search-looking button next to refresh in the upper left
  3. now you can test it!! TODO: look into grpc-json-proxy (https://github.com/jnewmano/grpc-json-proxy)

Documentation

Overview

Package main implements a server for Greeter service.

Directories

Path Synopsis
internal
Db
mocks
Services_mocks
Package Services_mocks is a generated GoMock package.
Package Services_mocks is a generated GoMock package.
pkg
protos

Jump to

Keyboard shortcuts

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