Documentation ¶
Index ¶
- func NewServer(options ServerOptions, opts ...Option) http.Handler
- type Option
- type Server
- func (s *Server) GetApplication(ctx context.Context, req *steadyrpc.GetApplicationRequest) (_ *steadyrpc.GetApplicationResponse, err error)
- func (s *Server) GetUser(ctx context.Context, req *steadyrpc.GetUserRequest) (_ *steadyrpc.GetUserResponse, err error)
- func (s *Server) Login(ctx context.Context, req *steadyrpc.LoginRequest) (_ *steadyrpc.LoginResponse, err error)
- func (s *Server) Logout(ctx context.Context, req *steadyrpc.LogoutRequest) (_ *steadyrpc.LogoutResponse, err error)
- func (s *Server) RunApplication(ctx context.Context, req *steadyrpc.RunApplicationRequest) (_ *steadyrpc.RunApplicationResponse, err error)
- func (s *Server) Signup(ctx context.Context, req *steadyrpc.SignupRequest) (_ *steadyrpc.SignupResponse, err error)
- func (s *Server) UpdateApplication(ctx context.Context, req *steadyrpc.UpdateApplicationRequest) (_ *steadyrpc.UpdateApplicationResponse, err error)
- func (s *Server) ValidateToken(ctx context.Context, req *steadyrpc.ValidateTokenRequest) (_ *steadyrpc.ValidateTokenResponse, err error)
- type ServerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*Server)
func OptionWithEmailSink ¶
func OptionWithPostgres ¶
func OptionWithSqlite ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetApplication ¶
func (s *Server) GetApplication(ctx context.Context, req *steadyrpc.GetApplicationRequest) ( _ *steadyrpc.GetApplicationResponse, err error)
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 (s *Server) UpdateApplication(ctx context.Context, req *steadyrpc.UpdateApplicationRequest) ( _ *steadyrpc.UpdateApplicationResponse, err error, )
func (*Server) ValidateToken ¶
func (s *Server) ValidateToken(ctx context.Context, req *steadyrpc.ValidateTokenRequest) ( _ *steadyrpc.ValidateTokenResponse, err error)
Click to show internal directories.
Click to hide internal directories.