SetVersion stores the build version info for the health endpoint.
(version, commit, buildTime string)
| 1057 | |
| 1058 | // SetVersion stores the build version info for the health endpoint. |
| 1059 | func (s *Server) SetVersion(version, commit, buildTime string) { |
| 1060 | s.version = version |
| 1061 | s.commit = commit |
| 1062 | s.buildTime = buildTime |
| 1063 | } |
| 1064 | |
| 1065 | // SetBaseURL sets the public base URL used for generating shareable links. |
| 1066 | // |