Documentation ¶
Overview ¶
Copyright © 2021 Anton Kaiukov <batko@batko.ru>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2021 Anton Kaiukov <batko@batko.ru>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2021 Anton Kaiukov <batko@batko.ru>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type GCTrackerService
- func (s *GCTrackerService) AddCase(formData url.Values)
- func (s *GCTrackerService) ChangePwd(r *http.Request) error
- func (s *GCTrackerService) DelCases(cases []string)
- func (s *GCTrackerService) GetResetToken() string
- func (s *GCTrackerService) GetSession(r *http.Request)
- func (s *GCTrackerService) IsAuthenticated() bool
- func (s *GCTrackerService) RenderCases() string
- func (s *GCTrackerService) RenderError(errorMsg string) string
- func (s *GCTrackerService) RenderPage(content, errorMsg string) string
- func (s *GCTrackerService) ResetPwd(r *http.Request) error
- func (s *GCTrackerService) SetAuthenticated(auth bool)
- func (s *GCTrackerService) SetResetToken(token string)
- func (s *GCTrackerService) ShowCases() string
- func (s *GCTrackerService) ShowChangePwd(errorMsg string) string
- func (s *GCTrackerService) ShowResetPwd(errorMsg string) string
- func (s *GCTrackerService) ShowSignIn(errorMsg string) string
- func (s *GCTrackerService) ShowSignUp(errorMsg string) string
- func (s *GCTrackerService) ShowStyle() string
- func (s *GCTrackerService) ShowUsers() string
- func (s *GCTrackerService) SignIn(form url.Values) error
- func (s *GCTrackerService) SignUp(formData url.Values) error
- func (s *GCTrackerService) UpdateCases() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCTrackerService ¶
type GCTrackerService struct {
// contains filtered or unexported fields
}
func NewGCTrackerService ¶
func NewGCTrackerService(d data.GCTrackerData) *GCTrackerService
func (*GCTrackerService) AddCase ¶
func (s *GCTrackerService) AddCase(formData url.Values)
func (*GCTrackerService) DelCases ¶
func (s *GCTrackerService) DelCases(cases []string)
func (*GCTrackerService) GetResetToken ¶
func (s *GCTrackerService) GetResetToken() string
func (*GCTrackerService) GetSession ¶
func (s *GCTrackerService) GetSession(r *http.Request)
func (*GCTrackerService) IsAuthenticated ¶
func (s *GCTrackerService) IsAuthenticated() bool
func (*GCTrackerService) RenderCases ¶
func (s *GCTrackerService) RenderCases() string
func (*GCTrackerService) RenderError ¶
func (s *GCTrackerService) RenderError(errorMsg string) string
func (*GCTrackerService) RenderPage ¶
func (s *GCTrackerService) RenderPage(content, errorMsg string) string
func (*GCTrackerService) SetAuthenticated ¶
func (s *GCTrackerService) SetAuthenticated(auth bool)
func (*GCTrackerService) SetResetToken ¶
func (s *GCTrackerService) SetResetToken(token string)
func (*GCTrackerService) ShowCases ¶
func (s *GCTrackerService) ShowCases() string
func (*GCTrackerService) ShowChangePwd ¶
func (s *GCTrackerService) ShowChangePwd(errorMsg string) string
func (*GCTrackerService) ShowResetPwd ¶
func (s *GCTrackerService) ShowResetPwd(errorMsg string) string
func (*GCTrackerService) ShowSignIn ¶
func (s *GCTrackerService) ShowSignIn(errorMsg string) string
func (*GCTrackerService) ShowSignUp ¶
func (s *GCTrackerService) ShowSignUp(errorMsg string) string
func (*GCTrackerService) ShowStyle ¶
func (s *GCTrackerService) ShowStyle() string
func (*GCTrackerService) ShowUsers ¶
func (s *GCTrackerService) ShowUsers() string
func (*GCTrackerService) UpdateCases ¶
func (s *GCTrackerService) UpdateCases() error