Skip to content

Commit

Permalink
Merge pull request #142 from loopholelabs/staging
Browse files Browse the repository at this point in the history
Release v0.5.3
  • Loading branch information
ShivanshVij authored Jul 27, 2022
2 parents 1761900 + 0bc26a2 commit 0f91b23
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*out
*logs
*logs
external
2 changes: 1 addition & 1 deletion .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 0.1
cli:
version: 0.15.0-beta
version: 0.15.1-beta
lint:
enabled:
- [email protected]
Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v0.5.3] - 2022-07-27 (Beta)

## Features

- Adding the `GetHandlerTable` function to the server which allows us to retrieve the handler table from the server

## [v0.5.2] - 2022-07-22 (Beta)

## Features
Expand Down Expand Up @@ -288,7 +294,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

Initial Release of Frisbee

[unreleased]: https://github.com/loopholelabs/frisbee/compare/v0.5.2...HEAD
[unreleased]: https://github.com/loopholelabs/frisbee/compare/v0.5.3...HEAD
[v0.5.3]: https://github.com/loopholelabs/frisbee/compare/v0.5.2...v0.5.3
[v0.5.2]: https://github.com/loopholelabs/frisbee/compare/v0.5.1...v0.5.2
[v0.5.1]: https://github.com/loopholelabs/frisbee/compare/v0.5.0...v0.5.1
[v0.5.0]: https://github.com/loopholelabs/frisbee/compare/v0.4.6...v0.5.0
Expand Down
7 changes: 7 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@ func (s *Server) SetHandlerTable(handlerTable HandlerTable) error {
return nil
}

// GetHandlerTable gets the handler table for the server.
//
// This function should not be called once the server has started.
func (s *Server) GetHandlerTable() HandlerTable {
return s.handlerTable
}

// Start will start the frisbee server and its reactor goroutines
// to receive and handle incoming connections. If the baseContext, ConnContext,
// onClosed, OnShutdown, or preWrite functions have not been defined, it will
Expand Down

0 comments on commit 0f91b23

Please sign in to comment.