steady

package
v0.0.0-...-b88123c Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Unlicense Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(options ServerOptions, opts ...Option) http.Handler

Types

type Option

type Option func(*Server)

func OptionWithEmailSink

func OptionWithEmailSink(e func(email string)) Option

func OptionWithPostgres

func OptionWithPostgres(connectionString string) Option

func OptionWithSqlite

func OptionWithSqlite(path string) Option

type Server

type Server struct {
	// contains filtered or unexported fields
}

func (*Server) GetApplication

func (*Server) GetUser

func (s *Server) GetUser(ctx context.Context, req *steadyrpc.GetUserRequest) (_ *steadyrpc.GetUserResponse, err error)

func (*Server) Login

func (s *Server) Login(ctx context.Context, req *steadyrpc.LoginRequest) (_ *steadyrpc.LoginResponse, err error)

func (*Server) Logout

func (s *Server) Logout(ctx context.Context, req *steadyrpc.LogoutRequest) (_ *steadyrpc.LogoutResponse, err error)

func (*Server) RunApplication

func (s *Server) RunApplication(ctx context.Context, req *steadyrpc.RunApplicationRequest) (
	_ *steadyrpc.RunApplicationResponse, err error,
)

func (*Server) Signup

func (s *Server) Signup(ctx context.Context, req *steadyrpc.SignupRequest) (_ *steadyrpc.SignupResponse, err error)

func (*Server) UpdateApplication

func (*Server) ValidateToken

type ServerOptions

type ServerOptions struct {
	PrivateLoadBalancerURL string
	PublicLoadBalancerURL  string
	DaemonClient           *daemon.Client
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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